-
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
Various cleanups around scalar layout restrictions #103917
Conversation
@bors try @rust-timer queue |
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @lcnr (or someone else) soon. Please see the contribution instructions for more information. |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
Some changes occurred to the CTFE / Miri engine cc @rust-lang/miri |
⌛ Trying commit 3278c3dfc02a9862c90d90c573cdde96ae4f4236 with merge a5ad1e28c77b80ed8339ab36c1438ffc121baafb... |
💔 Test failed - checks-actions |
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 27b1a1b3cd52254253f8b7d0558a81d21231a447 with merge 22364409b0e2dc95fcad50cce48558d1354bbfa7... |
This comment has been minimized.
This comment has been minimized.
... | | ||
LL | | #[stable(feature = "signed_nonzero", since = "1.34.0")] #[rustc_const_stable(feature = "signed_nonzero", since = "1.34.0")] NonZeroIs... | ||
LL | | } | ||
| |_^ |
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.
That's a terrible span.^^ I deliberately made it not show spans for restricted layout types before.
r? @RalfJung as you're already reviewing it |
r=me on the lint changes, though I am not entirely convinced they are all improvements. However there are also some logic changes in compiler/rustc_ty_utils/src/layout.rs and I don't know anything about that code nor do I understand what is being changed or why here, so I can't review that -- sorry. r? @lcnr for that part. |
…affects teh first scalar
@bors r=RalfJung,lcnr |
☀️ Test successful - checks-actions |
Finished benchmarking commit (df04d28): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesThis benchmark run did not return any relevant results for this metric. |
Pulled out of #103724