Rollup of 3 pull requests - #162625
Conversation
…tylistic conventions Namely: > Error, Warning, Note, and Help messages start with a lowercase letter and do not end with punctuation. From: <https://rustc-dev-guide.rust-lang.org/diagnostics.html#diagnostic-output-style-guide>
…erflow, r=lcnr `-Znext-solver` : Abort on the first overflowed obligation in fulfillment Fixes rust-lang/trait-system-refactor-initiative#294 cc https://rust-lang.zulipchat.com/#narrow/channel/618216-t-types.2Fcall-for-participation/topic/handling.20overflow.20in.20fulfill/with/621040305 We used to drop all subsequent obligations when one obligation overflows in fulfillment. It means that we don't really prove all obligations even if fulfillment has no pending obligations and returns no error. We now eagerly abort on the first overflowed obligation. r? @ShoyuVanilla cc @lcnr
Eagerly report overflow errors in normalization query Fixes rust-lang#161542 We still have rigid opaques in `TypingMode::PostAnalysis` after `PostAnalysisNormalize` pass because we ignore normalization errors in the [`PostAnalysisNormalize` pass](https://github.com/rust-lang/rust/blob/04a3cad16c522be4fd15ca76d3c119c14be68954/compiler/rustc_mir_transform/src/post_analysis_normalize.rs#L66). We can't handle errors there as we don't have enough information to detect whether they're overflows. This doesn't cause problems for the old solver because it eagerly emits overflow error in evaluation. We try to do the same in the next solver. I don't really know who to assign. Maybe r? @jdonszelmann cc @lcnr
…its, r=adwinwhite Clean up some small things related to lint `ambiguous_glob_imported_traits` Cleaning up things I noticed in the vicinity while reviewing PR rust-lang#157968 (which concerns lint `ambiguous_glob_imported_traits` and feature `supertrait_item_shadowing`). Namely, 1. turning two tuple struct variants into named ones to avoid "anonymous `bool`s" 2. fixing an inaccurate `supertrait_item_shadowing`-specific doc comment 3. applying the rules listed in our [Diagnostic output style guide](https://rustc-dev-guide.rust-lang.org/diagnostics.html#diagnostic-output-style-guide) to the diagnostic of lint `ambiguous_glob_imported_traits` <sub>(No LLM was or will be used by me during the entire creation process of this PR)</sub>
|
@bors r+ p=5 |
This comment has been minimized.
This comment has been minimized.
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 a59b87a (parent) -> ca0a647 (this PR) Test differencesShow 38 test diffsStage 1
Stage 2
Additionally, 14 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 ca0a6473ffde01deb7fce24cc04864cf723e14a0 --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 |
|
📌 Perf builds for each rolled up PR:
parent commit: a59b87ab99 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
|
Finished benchmarking commit (ca0a647): 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 0.6%, secondary 1.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -0.2%, secondary 4.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 479.056s -> 494.036s (3.13%) |
Successful merges:
-Znext-solver: Abort on the first overflowed obligation in fulfillment #162223 (-Znext-solver: Abort on the first overflowed obligation in fulfillment)ambiguous_glob_imported_traits#162176 (Clean up some small things related to lintambiguous_glob_imported_traits)r? @ghost
Create a similar rollup