Skip to content
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

Merged
merged 17 commits into from
Nov 27, 2022

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Nov 3, 2022

Pulled out of #103724

@oli-obk
Copy link
Contributor Author

oli-obk commented Nov 3, 2022

@bors try @rust-timer queue

@rustbot
Copy link
Collaborator

rustbot commented Nov 3, 2022

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.

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 3, 2022
@rustbot
Copy link
Collaborator

rustbot commented Nov 3, 2022

Some changes occurred to the CTFE / Miri engine

cc @rust-lang/miri

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Nov 3, 2022
@bors
Copy link
Contributor

bors commented Nov 3, 2022

⌛ Trying commit 3278c3dfc02a9862c90d90c573cdde96ae4f4236 with merge a5ad1e28c77b80ed8339ab36c1438ffc121baafb...

@bors
Copy link
Contributor

bors commented Nov 3, 2022

💔 Test failed - checks-actions

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 3, 2022
@rust-log-analyzer

This comment has been minimized.

@oli-obk
Copy link
Contributor Author

oli-obk commented Nov 3, 2022

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@bors
Copy link
Contributor

bors commented Nov 3, 2022

⌛ Trying commit 27b1a1b3cd52254253f8b7d0558a81d21231a447 with merge 22364409b0e2dc95fcad50cce48558d1354bbfa7...

@rust-log-analyzer

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 | | }
| |_^
Copy link
Member

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.

@lcnr
Copy link
Contributor

lcnr commented Nov 3, 2022

r? @RalfJung as you're already reviewing it

@rustbot rustbot assigned RalfJung and unassigned lcnr Nov 3, 2022
@RalfJung
Copy link
Member

RalfJung commented Nov 5, 2022

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.

@oli-obk
Copy link
Contributor Author

oli-obk commented Nov 25, 2022

@bors r=RalfJung,lcnr

@bors
Copy link
Contributor

bors commented Nov 25, 2022

📌 Commit 208bb93 has been approved by RalfJung,lcnr

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 25, 2022
@bors
Copy link
Contributor

bors commented Nov 27, 2022

⌛ Testing commit 208bb93 with merge df04d28...

@bors
Copy link
Contributor

bors commented Nov 27, 2022

☀️ Test successful - checks-actions
Approved by: RalfJung,lcnr
Pushing df04d28 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Nov 27, 2022
@bors bors merged commit df04d28 into rust-lang:master Nov 27, 2022
@rustbot rustbot added this to the 1.67.0 milestone Nov 27, 2022
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (df04d28): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This 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.

Cycles

This benchmark run did not return any relevant results for this metric.

@oli-obk oli-obk deleted the layout_math branch November 27, 2022 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. S-waiting-on-perf Status: Waiting on a perf run to be completed. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants