-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Remove TypeSuper{Foldable,Visitable}
impls for Region
.
#110345
Conversation
I measured locally and this had no perf effect, but folding is hot so let's be extra careful: @bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit 9287098d020bd36bbce2251041ab5936c47a4b6e with merge 008f8262a6a96644469dffb2fc40929c7060c7d8... |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
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 when perf comes back neutral
Finished benchmarking commit (008f8262a6a96644469dffb2fc40929c7060c7d8): comparison URL. Overall result: no relevant changes - no action neededBenchmarking 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. @bors rollup=never Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis 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.
CyclesResultsThis 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.
|
These traits exist so that folders/visitors can recurse into types of interest: binders, types, regions, predicates, and consts. But `Region` is non-recursive and cannot contain other types of interest, so its methods in these traits are trivial. This commit inlines and removes those trivial methods.
9287098
to
4460a1d
Compare
Perf is neutral. @bors r=compiler-errors rollup |
⌛ Testing commit 4460a1d with merge c15ae4af14829917dca6ea984e48400b916f05c1... |
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
Seems like a weird failure. @bors retry |
…fee1-dead Rollup of 3 pull requests Successful merges: - rust-lang#109665 (Remove `remap_env_constness` in queries) - rust-lang#110345 (Remove `TypeSuper{Foldable,Visitable}` impls for `Region`.) - rust-lang#110396 (Use lint via `lint_defs` instead of `lints`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
…ion, r=compiler-errors Remove `TypeSuper{Foldable,Visitable}` impls for `Region`. These traits exist so that folders/visitors can recurse into types of interest: binders, types, regions, predicates, and consts. But `Region` is non-recursive and cannot contain other types of interest, so its methods in these traits are trivial. This commit inlines and removes those trivial methods. r? ``@compiler-errors``
These traits exist so that folders/visitors can recurse into types of interest: binders, types, regions, predicates, and consts. But
Region
is non-recursive and cannot contain other types of interest, so its methods in these traits are trivial.This commit inlines and removes those trivial methods.
r? @compiler-errors