-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
normalize env constness for nested obligations #92257
normalize env constness for nested obligations #92257
Conversation
r? @cjgillot (rust-highfive has picked a reviewer for you, use r? to override) |
r? @oli-obk |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1f87520
to
bb4c551
Compare
So... if we're gonna replace the hack soonish, then this lgtm. I'd rather have it working now and then look into fixing it than wait for a clean fix. I think the clean fix would be a two step thing:
Thoughts? Opinions? |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit bb4c551 with merge 738af7d0d909f15525c320a4c51b0051b1d355ee... |
☀️ Try build successful - checks-actions |
Queued 738af7d0d909f15525c320a4c51b0051b1d355ee with parent 67491a2, future comparison URL. |
Finished benchmarking commit (738af7d0d909f15525c320a4c51b0051b1d355ee): comparison url. Summary: This benchmark run did not return any relevant changes. 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 led to changes in compiler perf. @bors rollup=never |
Agreed, basically this was blocking constifying |
@bors r+ rollup |
📌 Commit bb4c551 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (f8abed9): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
Constify a few `(Partial)Ord` impls Only a few `impl`s are constified for now, as rust-lang#92257 has not landed in the bootstrap compiler yet and quite a few impls would need that fix. This unblocks rust-lang#92228, which unblocks marking iterator methods as `default_method_body_is_const`.
Constify a few `(Partial)Ord` impls Only a few `impl`s are constified for now, as rust-lang#92257 has not landed in the bootstrap compiler yet and quite a few impls would need that fix. This unblocks rust-lang#92228, which unblocks marking iterator methods as `default_method_body_is_const`.
Closes #92230.