Rollup of 24 pull requests#159046
Conversation
…ives_bounds for opaques
This change prevents our lints from returning a span with stuff in it that isn't actually part of the doc comment. When that happens, it returns `None` instead.
It requires an allocation, and doesn't seem to help in practice. Fixes a nit found during review.
Co-authored-by: binarycat <binarycat@envs.net>
Co-authored-by: binarycat <binarycat@envs.net>
Co-authored-by: binarycat <binarycat@envs.net>
…st from delegation parent
…iles instead of .rs files
The function `fn best_blame_constraint()` returns a `Vec<OutlivesConstraint>` and a `BlameConstraint`. The `BlameConstraint` is really just a slimmed down version of an `OutlivesConstraint`. So we can remove `BlameConstraint` entirely and instead return `Vec<OutlivesConstraint>` and an index into that `Vec`. (Encapsulated in a struct for nice ergonomics.) To prepare for that, change the code to adjust `Vec<OutlivesConstraint>` in-place and return info about the adjusted element, rather than returning info for a newly created "fake" `OutlivesConstraint`.
A recent change in InstSimplify is able to skip the `and` in this codegen, which is strictly an improvement. We accept the new version on newer LLVM and the old verison on older ones using the revisions system. The change in array-cmp.rs appears to have come from the same revision, so I gave it the same treatment. It's weirder to me though, because it merely changes the order of the phi operands which if I understand right doesn't actually matter.
This comment has been minimized.
This comment has been minimized.
Rollup of 24 pull requests try-job: dist-various-1 try-job: test-various try-job: x86_64-gnu-aux try-job: x86_64-gnu-llvm-21-3 try-job: x86_64-msvc-1 try-job: aarch64-apple try-job: x86_64-mingw-1 try-job: i686-msvc-*
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 d465559 (parent) -> 3ead112 (this PR) Test differencesShow 1510 test diffsStage 1
Stage 2
(and 110 additional test diffs) Additionally, 1300 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 3ead112e67f8feb4d6b09e12f1b5d83b87698961 --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:
previous master: d465559281 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
|
Finished benchmarking commit (3ead112): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Our benchmarks found a performance regression caused by this PR. Next Steps:
@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.5%, secondary -3.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.2%, secondary -5.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.2%, secondary 0.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 490.768s -> 490.513s (-0.05%) |
Successful merges:
std::io::Writetocore::io#158541 (Movestd::io::Writetocore::io)'static#156508 (Infer all anonymous lifetimes in assoc consts as'static)-Zlsdiagnostic message on.rsfiles #158859 (Improve-Zlsdiagnostic message on.rsfiles)TokenStreamIter#158988 (RedoTokenStreamIter)ConstArgHasTypepredicates #158722 (delegation: do not always inheritConstArgHasTypepredicates)pathfrombest_blame_constraint()consistent #158877 (borrowck: Keep returnedpathfrombest_blame_constraint()consistent)no_stdattribute #158886 (Add documentation for theno_stdattribute)char_to_u32#158940 (Implement featurechar_to_u32)MaxUniverses into one #158951 (Merge threeMaxUniverses into one)PartialOrdviaOrdforSpanand newtype_indexes #158996 ([compiler] ImplementPartialOrdviaOrdforSpanand newtype_indexes)r? @ghost
Create a similar rollup