diff options
| author | bors <bors@rust-lang.org> | 2022-08-30 20:39:01 +0000 | 
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-30 20:39:01 +0000 | 
| commit | 02654a0844f5c8d29bac318c3c6c666da3d8543d (patch) | |
| tree | e1d36bde13846d5c72ad483b3b42e040641adf70 /compiler/rustc_parse/src | |
| parent | 350cca3b6a89d08fe2a3309be5233e7c8a2274c9 (diff) | |
| parent | be324607ea90340001b00b4554502c8ec937313d (diff) | |
| download | rust-02654a0844f5c8d29bac318c3c6c666da3d8543d.tar.gz rust-02654a0844f5c8d29bac318c3c6c666da3d8543d.zip | |
Auto merge of #98919 - 5225225:stricter-invalid-value, r=RalfJung
Strengthen invalid_value lint to forbid uninit primitives, adjust docs to say that's UB For context: https://github.com/rust-lang/rust/issues/66151#issuecomment-1174477404= This does not make it a FCW, but it does explicitly state in the docs that uninit integers are UB. This also doesn't affect any runtime behavior, uninit u32's will still successfully be created through mem::uninitialized.
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions
