Rollup of 7 pull requests#156305
Conversation
The code is simpler with it gone.
By removing "random number", which is no longer true. And also wrapping the overly long lines.
To make clear some things I wasn't sure about.
All the necessary data can be taken from `SyntaxExtension` instead.
Clone only on interface boundaries with `rustc_expand`
This is consistent with our use of `widening` elsewhere. Suggested-by: Gabriel Bjørnager Jensen <gabriel@achernar.io>
* Lint doc comments in cfg_select branches * test with multi-line doc comment Co-authored-by: Copilot <copilot@github.com> * Reject outer attributes on `cfg_select` branches * address nits and gotchas Co-authored-by: Copilot <copilot@github.com> * one more test Co-authored-by: Copilot <copilot@github.com> * avoid snapshotting and classify recovered doc comments directly
resolve: Remove `MacroData` All the necessary data can be taken from `SyntaxExtension` instead.
Rename the unstable integer `extend` function to `widen` This is consistent with our use of `widening` elsewhere. Suggested-by: Gabriel Bjørnager Jensen <gabriel@achernar.io>
…ease turn some long-deprecated -C options into errors - `-Car` has been documented to do nothing for more than 8 years (rust-lang@691ab6c) and causes a warning for more than a year (rust-lang#135126). - `-Cno-stack-check` has been made a NOP and deprecated with a warning more than 9 years ago (rust-lang@c670293) - `-Cinline-threshold` has been made a NOP and deprecated with a warning almost 2 years ago (rust-lang#124712). With them being ignored there's always a risk someone thinks they'll do something and they don't notice the warning. I think these have been deprecated for long enough that we can turn them into hard errors. Also change the type of these fields to `()` so there's no information here that the rest of the compiler could use. This supersedes the `rustc_lint_opt_deny_field_access` trick. MCP: rust-lang/compiler-team#978
…=JonathanBrouwer Reject outer attributes on `cfg_select` branches Fixes rust-lang#155701.
…Brouwer Simplify the creation of synthetic HIR.
…adwinwhite Dep graph cleanups Minor cleanups I found while looking at dep graph code. Details in individual commits. r? @adwinwhite
…to-run-incr, r=nnethercote Do not cache `lints_that_dont_need_to_run` across sessions The `lints_that_dont_need_to_run` query depends on the lint store (which includes internal lints under `-Zunstable-options`). Because that flag is deliberately not part of the incremental command-line hash, incremental builds could load stale results from sessions with a different lint configuration, leading to an ICE. This PR marks the query `eval_always` so it is recomputed for the current session instead of being loaded from cache. Fixes rust-lang#156182.
|
@bors r+ rollup=never p=5 |
This comment has been minimized.
This comment has been minimized.
…uwer Rollup of 7 pull requests Successful merges: - #156236 (resolve: Remove `MacroData`) - #156298 (Rename the unstable integer `extend` function to `widen`) - #154498 (turn some long-deprecated -C options into errors) - #155734 (Reject outer attributes on `cfg_select` branches) - #156123 (Simplify the creation of synthetic HIR.) - #156175 (Dep graph cleanups) - #156214 (Do not cache `lints_that_dont_need_to_run` across sessions)
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
💔 Test for 3014362 failed: CI. Failed job:
|
|
Ffs |
This comment has been minimized.
This comment has been minimized.
|
📌 Perf builds for each rolled up PR:
previous master: 3e353d7353 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 3e353d7 (parent) -> f2b291d (this PR) Test differencesShow 214 test diffsStage 1
Stage 2
Additionally, 200 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 f2b291d902bfde7d7f209fc3a64908134bcef201 --output-dir test-dashboardAnd 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 (f2b291d): comparison URL. Overall result: ❌✅ regressions and 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 0.3%, secondary 2.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.4%, secondary 4.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.0%, secondary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 497.449s -> 497.331s (-0.02%) |
Successful merges:
MacroData#156236 (resolve: RemoveMacroData)extendfunction towiden#156298 (Rename the unstable integerextendfunction towiden)cfg_selectbranches #155734 (Reject outer attributes oncfg_selectbranches)lints_that_dont_need_to_runacross sessions #156214 (Do not cachelints_that_dont_need_to_runacross sessions)r? @ghost
Create a similar rollup