summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/mut_key.stderr
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/mut_key.stderr
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/mut_key.stderr')
-rw-r--r--src/tools/clippy/tests/ui/mut_key.stderr10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/tools/clippy/tests/ui/mut_key.stderr b/src/tools/clippy/tests/ui/mut_key.stderr
index 3f756f5f0e5..95b9546bfe0 100644
--- a/src/tools/clippy/tests/ui/mut_key.stderr
+++ b/src/tools/clippy/tests/ui/mut_key.stderr
@@ -102,13 +102,5 @@ error: mutable key type
 LL |     let _map = HashMap::<Arc<Cell<usize>>, usize>::new();
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-error: this argument is a mutable reference, but not used mutably
-  --> $DIR/mut_key.rs:31:32
-   |
-LL | fn should_not_take_this_arg(m: &mut HashMap<Key, usize>, _n: usize) -> HashSet<Key> {
-   |                                ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider changing to: `&HashMap<Key, usize>`
-   |
-   = note: `-D clippy::needless-pass-by-ref-mut` implied by `-D warnings`
-
-error: aborting due to 18 previous errors
+error: aborting due to 17 previous errors