diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2024-01-23 21:53:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-23 21:53:57 +0100 |
| commit | 19a840d6760222f89ad1ec55e2bcd07cb380bcc1 (patch) | |
| tree | 78b38ee5d0b152b5cfc28bdb458aaeca93d4c3a7 /tests/codegen/integer-overflow.rs | |
| parent | 6131ba62ad304d974caba5cad99319c853b6472f (diff) | |
| parent | 0e3035b512fb020e5f4cee9b151a3e79a86ed144 (diff) | |
| download | rust-19a840d6760222f89ad1ec55e2bcd07cb380bcc1.tar.gz rust-19a840d6760222f89ad1ec55e2bcd07cb380bcc1.zip | |
Rollup merge of #120160 - reitermarkus:nonzero-traits, r=dtolnay
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```
Diffstat (limited to 'tests/codegen/integer-overflow.rs')
0 files changed, 0 insertions, 0 deletions
