diff options
| author | bors <bors@rust-lang.org> | 2022-02-18 19:31:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-02-18 19:31:10 +0000 |
| commit | 73367f8768f7ebffe3bba9c5b94813c2bb5c045f (patch) | |
| tree | ed76f88e3cd682124bac8fba6897f1173256c7e1 /compiler/rustc_codegen_llvm/src | |
| parent | 02f3c17593e653e30e8835500319ef412855fa34 (diff) | |
| parent | 88ecdd0804be7c5643eafa4e1960f5e0176903b3 (diff) | |
| download | rust-73367f8768f7ebffe3bba9c5b94813c2bb5c045f.tar.gz rust-73367f8768f7ebffe3bba9c5b94813c2bb5c045f.zip | |
Auto merge of #8381 - Jarcho:cast_possible_truncation_542, r=Manishearth
Lint enum-to-int casts with `cast_possible_truncation` fixes: #542 ~~This will not lint casting a specific variant to an integer. That really should be a new lint as it's definitely a truncation (other than `isize`/`usize` values).~~ changelog: Lint enum-to-int casts with `cast_possible_truncation` changelog: New lint `cast_enum_truncation`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
