about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-05-25 07:31:44 +0200
committerGitHub <noreply@github.com>2022-05-25 07:31:44 +0200
commit02c0c768c1cc39e9b372bc85368ab58664463623 (patch)
tree8b5955d17d93a6cd2fe79de93753c0bb5c5f56ca /compiler/rustc_mir_transform/src/coverage/debug.rs
parent89bdbd0294ddb4ecfa4b75ccd8446d4d5c4d60e9 (diff)
parentdd9f31d000a33c52383f9af9e1dbf44f754590c3 (diff)
downloadrust-02c0c768c1cc39e9b372bc85368ab58664463623.tar.gz
rust-02c0c768c1cc39e9b372bc85368ab58664463623.zip
Rollup merge of #97323 - 5225225:strict_init_checks, r=oli-obk
Introduce stricter checks for might_permit_raw_init under a debug flag

This is intended to be a version of the strict checks tried out in #79296, but also checking number validity (under the assumption that `let _ = std::mem::uninitialized::<u32>()` is UB, which seems to be what https://github.com/rust-lang/unsafe-code-guidelines/issues/71 is leaning towards.)
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions