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) {
11 = note: `-D clippy::map-entry` implied by `-D warnings`
12 help: consider using `m.entry(k)`
13 --> $DIR/entry_unfixable.rs:10:5
15 LL | / if !m.contains_key(&k) {
22 error: usage of `contains_key` followed by `insert` on a `HashMap`
23 --> $DIR/entry_unfixable.rs:18:5
25 LL | / if m.contains_key(&k) {
32 help: consider using `m.entry(k)`
33 --> $DIR/entry_unfixable.rs:18:5
35 LL | / if m.contains_key(&k) {
42 error: usage of `contains_key` followed by `insert` on a `HashMap`
43 --> $DIR/entry_unfixable.rs:26:5
45 LL | / if !m.contains_key(&k) {
53 help: consider using `m.entry(k)`
54 --> $DIR/entry_unfixable.rs:26:5
56 LL | / if !m.contains_key(&k) {
64 error: usage of `contains_key` followed by `insert` on a `HashMap`
65 --> $DIR/entry_unfixable.rs:35:5
67 LL | / if m.contains_key(&k) {
75 help: consider using `m.entry(k)`
76 --> $DIR/entry_unfixable.rs:35:5
78 LL | / if m.contains_key(&k) {
86 error: usage of `contains_key` followed by `insert` on a `BTreeMap`
87 --> $DIR/entry_unfixable.rs:44:5
89 LL | / if !m.contains_key(&k) {
97 help: consider using `m.entry(k)`
98 --> $DIR/entry_unfixable.rs:44:5
100 LL | / if !m.contains_key(&k) {
102 LL | | m.insert(k, v)
108 error: aborting due to 5 previous errors