1 error: mutable key type
2 --> $DIR/mut_key.rs:27:32
4 LL | fn should_not_take_this_arg(m: &mut HashMap<Key, usize>, _n: usize) -> HashSet<Key> {
5 | ^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: `-D clippy::mutable-key-type` implied by `-D warnings`
9 error: mutable key type
10 --> $DIR/mut_key.rs:27:72
12 LL | fn should_not_take_this_arg(m: &mut HashMap<Key, usize>, _n: usize) -> HashSet<Key> {
15 error: mutable key type
16 --> $DIR/mut_key.rs:28:5
18 LL | let _other: HashMap<Key, bool> = HashMap::new();
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21 error: mutable key type
22 --> $DIR/mut_key.rs:47:22
24 LL | fn tuples_bad<U>(_m: &mut HashMap<(Key, U), bool>) {}
25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
27 error: aborting due to 4 previous errors