diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-08-11 15:18:40 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-11 15:18:40 -0400 |
| commit | 061245e2b1a111ed46a60ad3d88fadf4eb48dcc6 (patch) | |
| tree | 2f3612b1ab89b661c90fefb8c8a60a0ffd19c0e2 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 88629778e6faeda18409ffaa9a00291e3605bae3 (diff) | |
| parent | 09307474c28eacf0d971ef95ecab0a2186a18c3b (diff) | |
| download | rust-061245e2b1a111ed46a60ad3d88fadf4eb48dcc6.tar.gz rust-061245e2b1a111ed46a60ad3d88fadf4eb48dcc6.zip | |
Rollup merge of #63346 - RalfJung:zeroed-lint, r=eddyb
Lint on some incorrect uses of mem::zeroed / mem::uninitialized Cc https://github.com/rust-lang/rust/issues/62825 and https://internals.rust-lang.org/t/make-mem-uninitialized-and-mem-zeroed-panic-for-some-types-where-0-is-a-niche/10605 This does not yet handle `NonNull`/`NonZero*`, but it is a start. I also improved some doc issues I hit on the way, and added a useful helper to `TyS`. EDIT: I added the relnotes label mostly as a proposal -- I think this is worth mentioning, but leave the decision up to the release team.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
