mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
![]() Manually implement derived `NonZero` traits. Step 3 as mentioned in https://github.com/rust-lang/rust/pull/100428#pullrequestreview-1767139731. Manually implement the traits that would cause “borrow of layout constrained field with interior mutability” errors when switching to `NonZero<T>`. r? ```@dtolnay``` |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |