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

Tracking issue for banning field projecting into [rustc_layout_scalar_valid_range_*] types (MCP807) #133652

Open
5 tasks
scottmcm opened this issue Nov 29, 2024 · 0 comments
Labels
A-mir-opt Area: MIR optimizations C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. WG-mir-opt Working group: MIR optimizations

Comments

@scottmcm
Copy link
Member

scottmcm commented Nov 29, 2024

For rust-lang/compiler-team#807

Steps:

SEO: rustc_layout_scalar_valid_range_start rustc_layout_scalar_valid_range_end NonZero NonNull "pattern types".

@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Nov 29, 2024
@scottmcm scottmcm added A-mir-opt Area: MIR optimizations C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Nov 29, 2024
@jieyouxu jieyouxu added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. WG-mir-opt Working group: MIR optimizations labels Dec 6, 2024
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Jan 7, 2025
…r=oli-obk

Transmute from NonNull to pointer when elaborating a box deref (MCP807)

Since per rust-lang/compiler-team#807 we have to stop projecting into `NonNull`.

cc rust-lang#133652
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Jan 7, 2025
Rollup merge of rust-lang#135182 - scottmcm:box-deref-via-transmute, r=oli-obk

Transmute from NonNull to pointer when elaborating a box deref (MCP807)

Since per rust-lang/compiler-team#807 we have to stop projecting into `NonNull`.

cc rust-lang#133652
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-mir-opt Area: MIR optimizations C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. WG-mir-opt Working group: MIR optimizations
Projects
None yet
Development

No branches or pull requests

3 participants