mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-06 04:06:31 +00:00

Implement `core::ptr::Unique` on top of `NonNull` Removes the use `rustc_layout_scalar_valid_range_start` and some `unsafe` blocks.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.