From cb5e327c58576feb8bcafcb59b698c65be9e4833 Mon Sep 17 00:00:00 2001 From: Wayne Warren Date: Tue, 20 Nov 2018 21:21:07 -0600 Subject: [PATCH] Address travis CI lint failure --- clippy_lints/src/trivially_copy_pass_by_ref.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/trivially_copy_pass_by_ref.rs b/clippy_lints/src/trivially_copy_pass_by_ref.rs index 3d667cb5ea3f..8d442cd1b35d 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), _ => (), } }