Uh oh!
There was an error while loading. Please reload this page.
Make AssocItem aware of its impl kind - #145186
Conversation
rustbot
commented
Aug 9, 2025
rustbot has assigned @petrochenkov. Use |
rustbot
commented
Aug 9, 2025
Some changes occurred in src/tools/clippy cc @rust-lang/clippy Some changes occurred in compiler/rustc_sanitizers cc @rcvalle changes to the core type system Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt Some changes occurred in compiler/rustc_passes/src/check_attr.rs This PR changes rustc_public cc @oli-obk, @celinval, @ouz-a Some changes occurred in compiler/rustc_codegen_ssa |
This comment has been minimized.
This comment has been minimized.
0617ff2 to
cfed1eeCompare
This comment has been minimized.
This comment has been minimized.
cfed1ee to
77a42ecCompareUh oh!
There was an error while loading. Please reload this page.
compiler-errors
commented
Aug 10, 2025
@bors2 try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
Make `AssocItem` aware of its impl kind
This comment has been minimized.
This comment has been minimized.
rust-timer
commented
Aug 10, 2025
Finished benchmarking commit (ecc5941): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @bors rollup=never 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.4%, secondary -1.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 3.3%, secondary 2.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.3%, secondary 0.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 463.257s -> 466.12s (0.62%) |
This comment was marked as resolved.
This comment was marked as resolved.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
petrochenkov
commented
Aug 11, 2025
@rustbot author |
This comment has been minimized.
This comment has been minimized.
927c03d to
b995a55Comparerustbot
commented
Sep 12, 2025
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
petrochenkov
commented
Sep 13, 2025
@bors r+ |
bors
commented
Sep 13, 2025
bors
commented
Sep 13, 2025
bors
commented
Sep 13, 2025
☀️ 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 b50f345 (parent) -> 637b50b (this PR) Test differencesShow 230 test diffs230 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 637b50be01093962ac6f4432d6881ab41d6d90b4 --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 |
rust-timer
commented
Sep 13, 2025
Finished benchmarking commit (637b50b): 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 1.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 2.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -0.0%, secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 471.696s -> 474.269s (0.55%) |
nnethercote
commented
Sep 15, 2025
Nice work, @camsteffen! Can I ask how you found this, i.e. identified it as something worth working on? |
camsteffen
commented
Sep 16, 2025
Thanks @nnethercote! It was pretty unscientific. I just sleuth around the code and try to find things that could be neater or more direct. Some code paths around associated items just seemed to involve too many queries without short-circuiting for when only a certain impl kind is interesting. |
nnethercote
commented
Sep 16, 2025
That's a valid way to do it :) |
…henkov Make `AssocItem` aware of its impl kind The general goal is to have fewer query dependencies by making `AssocItem` aware of its parent impl kind (inherent vs. trait) without having to query the parent def_kind. See individual commits.
…henkov Make `AssocItem` aware of its impl kind The general goal is to have fewer query dependencies by making `AssocItem` aware of its parent impl kind (inherent vs. trait) without having to query the parent def_kind. See individual commits.
…henkov Make `AssocItem` aware of its impl kind The general goal is to have fewer query dependencies by making `AssocItem` aware of its parent impl kind (inherent vs. trait) without having to query the parent def_kind. See individual commits.
…henkov Make `AssocItem` aware of its impl kind The general goal is to have fewer query dependencies by making `AssocItem` aware of its parent impl kind (inherent vs. trait) without having to query the parent def_kind. See individual commits.
The general goal is to have fewer query dependencies by making
AssocItemaware of its parent impl kind (inherent vs. trait) without having to query the parent def_kind.See individual commits.