about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-02-18 19:31:10 +0000
committerbors <bors@rust-lang.org>2022-02-18 19:31:10 +0000
commit73367f8768f7ebffe3bba9c5b94813c2bb5c045f (patch)
treeed76f88e3cd682124bac8fba6897f1173256c7e1 /compiler/rustc_codegen_llvm/src
parent02f3c17593e653e30e8835500319ef412855fa34 (diff)
parent88ecdd0804be7c5643eafa4e1960f5e0176903b3 (diff)
downloadrust-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