rust/compiler
Erik Desjardins 5979b681e6 Apply noundef attribute to all scalar types which do not permit raw init
Beyond `&`/`&mut`/`Box`, this covers `char`, discriminants, `NonZero*`, etc.
All such types currently cause a Miri error if left uninitialized,
and an `invalid_value` lint in cases like `mem::uninitialized::<char>()`

Note that this _does not_ change whether or not it is UB for `u64` (or
other integer types with no invalid values) to be undef.
2022-02-26 16:42:33 -05:00
..
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-24 18:50:33 -08:00
2022-02-24 18:50:33 -08:00
2022-02-25 08:00:52 -05:00
2022-02-24 16:02:07 -05:00
2022-02-25 08:00:52 -05:00
2022-02-24 17:01:01 +11:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00
2022-02-25 08:00:52 -05:00