about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--clippy_lints/src/trivially_copy_pass_by_ref.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/trivially_copy_pass_by_ref.rs b/clippy_lints/src/trivially_copy_pass_by_ref.rs
index 3d667cb5ea3..8d442cd1b35 100644
--- a/clippy_lints/src/trivially_copy_pass_by_ref.rs
+++ b/clippy_lints/src/trivially_copy_pass_by_ref.rs
@@ -154,7 +154,7 @@ impl<'a, 'tcx> TriviallyCopyPassByRef {
     ) {
         for item in trait_items {
             match item.kind {
-                AssociatedItemKind::Method{ has_self: _ } => self.check_trait_method(cx, item),
+                AssociatedItemKind::Method{..} => self.check_trait_method(cx, item),
                 _ => (),
             }
         }