diff options
Diffstat (limited to 'src/tools/clippy/tests/ui/mut_key.stderr')
| -rw-r--r-- | src/tools/clippy/tests/ui/mut_key.stderr | 10 |
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 |
