-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Remove Symbol
from Named
variant of BoundRegionKind
/LateParamRegionKind
#139598
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
Conversation
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
… r=<try> Remove `Symbol` from `Named` variant of `BoundRegionKind`/`LateParamRegionKind` r? `@ghost`
This comment has been minimized.
This comment has been minimized.
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (098a24f): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never Instruction countThis is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.
Max RSS (memory usage)Results (primary -0.4%, secondary -0.4%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (primary 0.6%, secondary 1.4%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResults (primary -0.1%, secondary -0.2%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 780.203s -> 780.55s (0.04%) |
dba712a
to
b749895
Compare
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #140682) made this pull request unmergeable. Please resolve the merge conflicts. |
b749895
to
20eebb2
Compare
This is ready to review I think. |
rustbot has assigned @WaffleLapkin. Use |
HIR ty lowering was modified cc @fmease |
This comment has been minimized.
This comment has been minimized.
@rustbot author |
20eebb2
to
69c5275
Compare
☔ The latest upstream changes (presumably #143057) made this pull request unmergeable. Please resolve the merge conflicts. |
naur @rustbot ready |
☔ The latest upstream changes (presumably #143091) made this pull request unmergeable. Please resolve the merge conflicts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me with/out nits
...ler/rustc_trait_selection/src/error_reporting/infer/nice_region_error/named_anon_conflict.rs
Outdated
Show resolved
Hide resolved
43b2648
to
9d1d3c2
Compare
This comment has been minimized.
This comment has been minimized.
9d1d3c2
to
dc8cac8
Compare
@bors r+ p=1 (bitrotty) |
oops @bors r=WaffleLapkin |
💡 This pull request was already approved, no need to approve it again.
|
☀️ 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 733b47e (parent) -> f0b67dd (this PR) Test differencesShow 6 test diffs6 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard f0b67dd97d74610ee4185cf01c775a563c2017a2 --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 (f0b67dd): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowOur 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 0.9%, 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 -0.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -0.1%, secondary -0.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 461.743s -> 460.935s (-0.17%) |
The clap derive regression looks unrelated b/c it seems to be bimodal +/-3%. Rest of the regressions are 🤷, kind of a shame that this ended up not actually benefitting perf, but I don't know what changed in this PR's impl that would have nullified the previous results. |
The
Symbol
is redundant, since we already store aDefId
in the region variant. Instead, load the name viaitem_name
when needed (which is almost always on the diagnostic path).This introduces a
BoundRegionKind::NamedAnon
which is used for giving anonymous bound regions names, but which should only be used during pretty printing and error reporting.