]> git.lizzy.rs Git - rust.git/blob - tests/ui/fxhash.stderr
Adapt the *.stderr files of the ui-tests to the tool_lints
[rust.git] / tests / ui / fxhash.stderr
1 error: Prefer FxHashMap over HashMap, it has better performance and we don't need any collision prevention in clippy
2  --> $DIR/fxhash.rs:8:24
3   |
4 8 | use std::collections::{HashMap, HashSet};
5   |                        ^^^^^^^ help: use: `FxHashMap`
6   |
7   = note: `-D clippy::default-hash-types` implied by `-D warnings`
8
9 error: Prefer FxHashSet over HashSet, it has better performance and we don't need any collision prevention in clippy
10  --> $DIR/fxhash.rs:8:33
11   |
12 8 | use std::collections::{HashMap, HashSet};
13   |                                 ^^^^^^^ help: use: `FxHashSet`
14
15 error: Prefer FxHashMap over HashMap, it has better performance and we don't need any collision prevention in clippy
16   --> $DIR/fxhash.rs:12:15
17    |
18 12 |     let _map: HashMap<String, String> = HashMap::default();
19    |               ^^^^^^^ help: use: `FxHashMap`
20
21 error: Prefer FxHashMap over HashMap, it has better performance and we don't need any collision prevention in clippy
22   --> $DIR/fxhash.rs:12:41
23    |
24 12 |     let _map: HashMap<String, String> = HashMap::default();
25    |                                         ^^^^^^^ help: use: `FxHashMap`
26
27 error: Prefer FxHashSet over HashSet, it has better performance and we don't need any collision prevention in clippy
28   --> $DIR/fxhash.rs:13:15
29    |
30 13 |     let _set: HashSet<String> = HashSet::default();
31    |               ^^^^^^^ help: use: `FxHashSet`
32
33 error: Prefer FxHashSet over HashSet, it has better performance and we don't need any collision prevention in clippy
34   --> $DIR/fxhash.rs:13:33
35    |
36 13 |     let _set: HashSet<String> = HashSet::default();
37    |                                 ^^^^^^^ help: use: `FxHashSet`
38
39 error: aborting due to 6 previous errors
40