-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Rollup of 10 pull requests #142878
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 10 pull requests #142878
Conversation
rewrite using let-chains
Signed-off-by: Jonathan Brouwer <[email protected]>
…rrors Merge unboxed trait object error suggestion into regular dyn incompat error Another hir-walker removed from the well-formed queries. This error was always a duplicate of another, but it was able to provide more information because it could invoke `is_dyn_compatible` without worrying about cycle errors. That's also the reason we can't put the error directly into hir_ty_lowering when lowering a `dyn Trait` within an associated item signature. So instead I packed it into the error handling of wf obligation checking.
…ange, r=compiler-errors Add a warning to LateContext::get_def_path Preventing anyone from doing the same error as rust-lang/rust-clippy#15043 fixed
Add DesugaringKind::FormatLiteral Implements `DesugaringKind::FormatLiteral` to mark the FormatArgs desugaring of format literals. The main use for this is to stop yapping about about formatting parameters if we're not anywhere near a format literal. The other use case is to fix suggestions such as rust-lang#141350. It might also be useful for new or existing diagnostics that check whether they're in a format-like macro. cc `@xizheyin` `@fmease`
…aring, r=fee1-dead Clean-up `FnCtxt::is_destruct_assignment_desugaring` I noticed the docstring thing and fixed that; then I thought I'd rewrite the method using let-chains while I'm at it, since that seemed appropriate. But I don't feel too strongly about the second change, so let me know if I should remove it
… r=jdonszelmann Port `#[must_use]` to new attribute parsing infrastructure Ports `must_use` to the new attribute parsing infrastructure for rust-lang#131229 (comment) r? `@jdonszelmann`
…r-errors Don't fail to parse a struct if a semicolon is used to separate fields The first commit is a small refactor.
…chenkov Add a few inline directives in rustc_serialize. I see `debug_strict_add` and `debug_strict_sub` appearing in callgrind output. This bothers me. This PR should make them disappear.
remove few allow(dead_code) Few from serial/parallel compiler leftovers and few from bootstrap.
cranelift: fix target feature name typo: "fxsr" Fix a typo introduced in 71b698c CC: `@clubby789` `@bjorn3`
…t-installation-req, r=GuillaumeGomez Document why tidy checks if `eslint` is installed via `npm` Discussion here: rust-lang#142851
@bors r+ p=5 rollup=never |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR:
previous master: c2ec7532ee In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
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 c2ec753 (parent) -> 111e9bc (this PR) Test differencesShow 115 test diffsStage 1
Stage 2
Additionally, 98 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 111e9bc64bbdce14122e3676978f2ceefa5bff1a --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 |
Finished benchmarking commit (111e9bc): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 1.2%, secondary -0.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeResults (primary 0.1%, secondary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 690.174s -> 689.093s (-0.16%) |
Successful merges:
FnCtxt::is_destruct_assignment_desugaring
#142740 (Clean-upFnCtxt::is_destruct_assignment_desugaring
)#[must_use]
to new attribute parsing infrastructure #142780 (Port#[must_use]
to new attribute parsing infrastructure)eslint
is installed vianpm
#142877 (Document why tidy checks ifeslint
is installed vianpm
)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup