-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Rollup of 24 pull requests #146185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 24 pull requests #146185
Conversation
They now use the enclosing temporary scope as their scope, regardless of which `ScopeData` was used to mark it.
``` error[E0408]: variable `Ban` is not bound in all patterns --> f12.rs:9:9 | 9 | (Foo,Bar)|(Ban,Foo) => {} | ^^^^^^^^^ --- variable not in all patterns | | | pattern doesn't bind `Ban` | help: you might have meant to use the similarly named previously used binding `Bar` | 9 - (Foo,Bar)|(Ban,Foo) => {} 9 + (Foo,Bar)|(Bar,Foo) => {} | ```
Co-authored-by: Jamie Cunliffe <Jamie.Cunliffe@arm.com>
…him is exported Previously it would attempt to export the allocator shim even linking for a crate type which pulls in the allocator shim from a dylib rather than locally defining it.
…ts/variants for suggestions When encountering an or-pattern with a binding not available in all patterns, look for consts and unit struct/variants that have similar names as the binding to detect typos. ``` error[E0408]: variable `Ban` is not bound in all patterns --> $DIR/binding-typo.rs:22:9 | LL | (Foo, _) | (Ban, Foo) => {} | ^^^^^^^^ --- variable not in all patterns | | | pattern doesn't bind `Ban` | help: you might have meant to use the similarly named unit variant `Bar` | LL - (Foo, _) | (Ban, Foo) => {} LL + (Foo, _) | (Bar, Foo) => {} | ``` For items that are not in the immedate scope, suggest the full path for them: ``` error[E0408]: variable `Non` is not bound in all patterns --> $DIR/binding-typo-2.rs:51:16 | LL | (Non | Some(_))=> {} | --- ^^^^^^^ pattern doesn't bind `Non` | | | variable not in all patterns | help: you might have meant to use the similarly named unit variant `None` | LL - (Non | Some(_))=> {} LL + (core::option::Option::None | Some(_))=> {} | ```
…r name When encountering a typo in a pattern that gets interpreted as an unused binding, look for unit struct/variant of the same type as the binding: ``` error: unused variable: `Non` --> $DIR/binding-typo-2.rs:36:9 | LL | Non => {} | ^^^ | help: if this is intentional, prefix it with an underscore | LL | _Non => {} | + help: you might have meant to pattern match on the similarly named variant `None` | LL - Non => {} LL + std::prelude::v1::None => {} | ```
``` error: unused variable: `Batery` --> $DIR/binding-typo-2.rs:110:9 | LL | Batery => {} | ^^^^^^ | help: if this is intentional, prefix it with an underscore | LL | _Batery => {} | + help: you might have meant to pattern match on the similarly named constant `Battery` | LL | Battery => {} | + ```
This patch introduces an LSX-optimized version of `analyze_source_file` for the `loongarch64` target. Similar to existing SSE2 implementation for x86, this version: - Processes 16-byte chunks at a time using LSX vector intrinsics. - Quickly identifies newlines in ASCII-only chunks. - Falls back to the generic implementation when multi-byte UTF-8 characters are detected or in the tail portion.
…tside macro matching
LLVM upstream switched layouts to support 256-bit vector load/store.
It should have the same behavior as rustc, which the last wins.
It checks that its argument is at most isize::MAX, but it is called only with layout sizes, which are already guaranteed to be at most isize::MAX.
Change rustdoc's `--emit` to allow only one instance of each type, regardless of the actual data that `--emit` carries. This matches rustc's `--emit` behavior. As of the writing, only `dep-info` emit type carries extra data. See <rust-lang#141664>
Use std::thread::available_parallelism() instead of hardcoded --test-threads=1 in bootstrap tests.
@bors r+ rollup=never p=5 |
@bors try jobs=test-various,x86_64-msvc-1,aarch64-apple,armhf-gnu |
This comment has been minimized.
This comment has been minimized.
Rollup of 24 pull requests try-job: test-various try-job: x86_64-msvc-1 try-job: aarch64-apple try-job: armhf-gnu
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 9385c64 (parent) -> 033c0a4 (this PR) Test differencesShow 766 test diffsStage 0
Stage 1
Stage 2
(and 1 additional test diff) Additionally, 665 doctest diffs were found. These are ignored, as they are noisy. Job group index
Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 033c0a4742794f5608b19eb78458726596f8ec18 --output-dir test-dashboard And then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
📌 Perf builds for each rolled up PR:
previous master: 9385c64c95 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Successful merges:
read_buf
equivalents for positioned reads #140459 (Addread_buf
equivalents for positioned reads)path_add_extension
#145209 (Stabilizepath_add_extension
)super let
bindings withinif let
#145342 (fix drop scope forsuper let
bindings withinif let
)inline(always)
with a target feature behind a unstable featuretarget_feature_inline_always
. #145932 (Allowinline(always)
with a target feature behind a unstable featuretarget_feature_inline_always
.)#[must_use]
toarray::repeat
#146054 (add#[must_use]
toarray::repeat
)PartialEq
forInvisibleOrigin
#146090 (DerivePartialEq
forInvisibleOrigin
)rustc_errors
comment #146120 (Correct typo inrustc_errors
comment)rustc-dev
indistcheck
#146124 (Testrustc-dev
indistcheck
)ToolRustc
toToolRustcPrivate
#146127 (RenameToolRustc
toToolRustcPrivate
)--cfg
and--check-cfg
arguments #146137 (Disallow frontmatter in--cfg
and--check-cfg
arguments)--emit
precedence #146150 (fix(rustdoc): match rustc--emit
precedence )r? @ghost
@rustbot modify labels: rollup
Create a similar rollup