1 error: usage of `contains_key` followed by `insert` on a `HashMap`
2 --> $DIR/entry_unfixable.rs:10:5
4 LL | / if !m.contains_key(&k) {
9 | |_____^ consider using `m.entry(k)`
11 = note: `-D clippy::map-entry` implied by `-D warnings`
13 error: usage of `contains_key` followed by `insert` on a `HashMap`
14 --> $DIR/entry_unfixable.rs:18:5
16 LL | / if m.contains_key(&k) {
21 | |_____^ consider using `m.entry(k)`
23 error: usage of `contains_key` followed by `insert` on a `HashMap`
24 --> $DIR/entry_unfixable.rs:26:5
26 LL | / if !m.contains_key(&k) {
32 | |_____^ consider using `m.entry(k)`
34 error: usage of `contains_key` followed by `insert` on a `HashMap`
35 --> $DIR/entry_unfixable.rs:35:5
37 LL | / if m.contains_key(&k) {
43 | |_____^ consider using `m.entry(k)`
45 error: usage of `contains_key` followed by `insert` on a `BTreeMap`
46 --> $DIR/entry_unfixable.rs:44:5
48 LL | / if !m.contains_key(&k) {
54 | |_____^ consider using `m.entry(k)`
56 error: aborting due to 5 previous errors