-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Create elided lifetime parameters for function-like types #98279
Conversation
This comment has been minimized.
This comment has been minimized.
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit e49333e590f21257975b6d81fc1de82a4aed9629 with merge 01800f2df4359b120dfa9201183417f1c55064b4... |
This comment was marked as resolved.
This comment was marked as resolved.
This comment has been minimized.
This comment has been minimized.
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit e69d32ea3d242b67ff06a5253b9d59e7f70587c0 with merge 0a2ea8992940f2dabe3c3624452caf797c7aa11c... |
☀️ Try build successful - checks-actions |
Queued 0a2ea8992940f2dabe3c3624452caf797c7aa11c with parent b12708f, future comparison URL. |
Finished benchmarking commit (0a2ea8992940f2dabe3c3624452caf797c7aa11c): comparison url. Instruction count
Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking 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 Footnotes |
r=me with #98279 (comment) addressed and history cleaned up. |
Perf: there is a small (<1%) on a single secondary benchmark, with no discernible trend among non-relevant benchmarks. I considering this is noise-related. @bors r=petrochenkov |
📌 Commit 576661c has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (10f4ce3): comparison url. Instruction count
Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
resolve: Some cleanup, asserts and tests for lifetime ribs Follow up to rust-lang#98279 and friends. r? `@cjgillot`
resolve: Some cleanup, asserts and tests for lifetime ribs Follow up to rust-lang#98279 and friends. r? ``@cjgillot``
Split from #97720
This PR refactor lifetime generic parameters in bare function types and parenthesized traits to introduce the additional required lifetimes as fresh parameters in a
for<>
bound.This PR does the same to lifetimes appearing in closure signatures, and as-if introducing
for<>
bounds on closures (without the associated change in semantics).r? @petrochenkov