diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-01-29 17:15:56 +0900 |
|---|---|---|
| committer | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-01-29 17:15:56 +0900 |
| commit | 66524c5be0bbcb89fe635a1cf32d91e0001218dc (patch) | |
| tree | e65ecf1b5fdd3f7249549040341e0e801b0aa52f | |
| parent | 5b42a76792bd966c9c97a9bb7a1d1ca8863c1e7c (diff) | |
| download | rust-66524c5be0bbcb89fe635a1cf32d91e0001218dc.tar.gz rust-66524c5be0bbcb89fe635a1cf32d91e0001218dc.zip | |
Rustup to rust-lang/rust#68512
| -rw-r--r-- | clippy_lints/src/redundant_clone.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/redundant_clone.rs b/clippy_lints/src/redundant_clone.rs index 4483d2f21be..66faecbef2a 100644 --- a/clippy_lints/src/redundant_clone.rs +++ b/clippy_lints/src/redundant_clone.rs @@ -334,7 +334,7 @@ fn base_local_and_movability<'tcx>( && has_drop(cx, mir::Place::ty_from(local, projection, &mir.local_decls, cx.tcx).ty); } - Some((*local, deref || field)) + Some((local, deref || field)) } struct LocalUseVisitor { |
