diff options
| author | Wayne Warren <wayne.warren.s@gmail.com> | 2018-11-20 21:21:07 -0600 |
|---|---|---|
| committer | Wayne Warren <wayne.warren.s@gmail.com> | 2018-11-21 07:52:02 -0600 |
| commit | cb5e327c58576feb8bcafcb59b698c65be9e4833 (patch) | |
| tree | e7182d438381fcb13a03fc16776d09c5232355bb | |
| parent | ca4803101f95455b0436cefdf0e7cfecf259ca97 (diff) | |
| download | rust-cb5e327c58576feb8bcafcb59b698c65be9e4833.tar.gz rust-cb5e327c58576feb8bcafcb59b698c65be9e4833.zip | |
Address travis CI lint failure
| -rw-r--r-- | clippy_lints/src/trivially_copy_pass_by_ref.rs | 2 |
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), _ => (), } } |
