From 66524c5be0bbcb89fe635a1cf32d91e0001218dc Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Wed, 29 Jan 2020 17:15:56 +0900 Subject: [PATCH] Rustup to rust-lang/rust#68512 --- clippy_lints/src/redundant_clone.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {