diff options
Diffstat (limited to 'src/tools/clippy/tests/ui/should_impl_trait')
| -rw-r--r-- | src/tools/clippy/tests/ui/should_impl_trait/method_list_2.stderr | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/tools/clippy/tests/ui/should_impl_trait/method_list_2.stderr b/src/tools/clippy/tests/ui/should_impl_trait/method_list_2.stderr index a3bb05bf176..10bfea68ff5 100644 --- a/src/tools/clippy/tests/ui/should_impl_trait/method_list_2.stderr +++ b/src/tools/clippy/tests/ui/should_impl_trait/method_list_2.stderr @@ -149,14 +149,5 @@ LL | | } | = help: consider implementing the trait `std::ops::Sub` or choosing a less ambiguous method name -error: this argument is a mutable reference, but not used mutably - --> $DIR/method_list_2.rs:38:31 - | -LL | pub fn hash(&self, state: &mut T) { - | ^^^^^^ help: consider changing to: `&T` - | - = warning: changing this function will impact semver compatibility - = note: `-D clippy::needless-pass-by-ref-mut` implied by `-D warnings` - -error: aborting due to 16 previous errors +error: aborting due to 15 previous errors |
