1 error: prefer `FxHashMap` over `HashMap`, it has better performance
2 --> $DIR/default_hash_types.rs:16:41
4 LL | let _map: HashMap<String, String> = HashMap::default();
7 = note: a `use rustc_data_structures::fx::FxHashMap` may be necessary
8 note: the lint level is defined here
9 --> $DIR/default_hash_types.rs:4:9
11 LL | #![deny(rustc::default_hash_types)]
12 | ^^^^^^^^^^^^^^^^^^^^^^^^^
14 error: prefer `FxHashMap` over `HashMap`, it has better performance
15 --> $DIR/default_hash_types.rs:16:15
17 LL | let _map: HashMap<String, String> = HashMap::default();
18 | ^^^^^^^^^^^^^^^^^^^^^^^
20 = note: a `use rustc_data_structures::fx::FxHashMap` may be necessary
22 error: prefer `FxHashSet` over `HashSet`, it has better performance
23 --> $DIR/default_hash_types.rs:19:33
25 LL | let _set: HashSet<String> = HashSet::default();
28 = note: a `use rustc_data_structures::fx::FxHashSet` may be necessary
30 error: prefer `FxHashSet` over `HashSet`, it has better performance
31 --> $DIR/default_hash_types.rs:19:15
33 LL | let _set: HashSet<String> = HashSet::default();
36 = note: a `use rustc_data_structures::fx::FxHashSet` may be necessary
38 error: aborting due to 4 previous errors