mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +00:00
add new rval, pull deref early
This commit is contained in:
parent
1e033a9818
commit
9d86ce6533
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ fn check_rvalue<'tcx>(
|
|||
Rvalue::Len(place) | Rvalue::Discriminant(place) | Rvalue::Ref(_, _, place) | Rvalue::AddressOf(_, place) => {
|
||||
check_place(tcx, *place, span, body)
|
||||
},
|
||||
Rvalue::CopyForDeref(place) => check_place(tcx, *place, span, body),
|
||||
Rvalue::Repeat(operand, _)
|
||||
| Rvalue::Use(operand)
|
||||
| Rvalue::Cast(
|
||||
|
|
Loading…
Add table
Reference in a new issue