mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
Remove mir::CastKind::Misc
This commit is contained in:
parent
9e8f53d09a
commit
13dbc33d8f
1 changed files with 6 additions and 1 deletions
|
@ -129,7 +129,12 @@ fn check_rvalue<'tcx>(
|
|||
| Rvalue::Use(operand)
|
||||
| Rvalue::Cast(
|
||||
CastKind::PointerFromExposedAddress
|
||||
| CastKind::Misc
|
||||
| CastKind::IntToInt
|
||||
| CastKind::FloatToInt
|
||||
| CastKind::IntToFloat
|
||||
| CastKind::FloatToFloat
|
||||
| CastKind::FnPtrToPtr
|
||||
| CastKind::PtrToPtr
|
||||
| CastKind::Pointer(PointerCast::MutToConstPointer | PointerCast::ArrayToPointer),
|
||||
operand,
|
||||
_,
|
||||
|
|
Loading…
Reference in a new issue