Add offset_of! macro (RFC 3308) by beepster4096 · Pull Request #106934 · rust-lang/rust (original) (raw)
Some changes occurred in src/tools/rustfmt
cc @rust-lang/rustfmt
Some changes occured in rustc_ty_utils::consts.rs
cc @BoxyUwU
Some changes occurred in compiler/rustc_codegen_cranelift
cc @bjorn3
This PR changes MIR
cc @oli-obk, @RalfJung, @JakobDegen, @davidtwco, @celinval, @vakaras
Some changes occurred to MIR optimizations
cc @rust-lang/wg-mir-opt
Hey! It looks like you've submitted a new PR for the library teams!
If this PR contains changes to any rust-lang/rust public library APIs then please comment with @rustbot label +T-libs-api -T-libs to tag it appropriately. If this PR contains changes to any unstable APIs please edit the PR description to add a link to the relevant API Change Proposal or create one if you haven't already. If you're unsure where your change falls no worries, just leave it as is and the reviewer will take a look and make a decision to forward on if necessary.
Examples of T-libs-api changes:
- Stabilizing library features
- Introducing insta-stable changes such as new implementations of existing stable traits on existing stable types
- Introducing new or changing existing unstable library APIs (excluding permanently unstable features / features without a tracking issue)
- Changing public documentation in ways that create new stability guarantees
- Changing observable runtime behavior of library APIs
Some changes occurred to the CTFE / Miri engine
cc @rust-lang/miri
Some changes occurred in src/tools/clippy
cc @rust-lang/clippy