summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/should_impl_trait
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-03 02:49:44 +0000
committerbors <bors@rust-lang.org>2023-10-03 02:49:44 +0000
commitcc66ad468955717ab92600c770da8c1601a4ff33 (patch)
tree0bcbd7386add621c4fb799cc61206cd32ebd0536 /src/tools/clippy/tests/ui/should_impl_trait
parent2ce543cc5acce60622e35acdca59be4547590567 (diff)
parentd3f6573c121b383d686ee013f24a7ae06c0e344b (diff)
downloadrust-1.73.0.tar.gz
rust-1.73.0.zip
Auto merge of #116364 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum 1.73.0
[stable] 1.73.0 release

Still needs a clippy backport (https://github.com/rust-lang/rust-clippy/pull/11596).

r? `@Mark-Simulacrum`
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.stderr11
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