2018-08-10 17:58:23 +00:00
|
|
|
error: Prefer FxHashMap over HashMap, it has better performance and we don't need any collision prevention in clippy
|
2018-08-01 14:30:44 +00:00
|
|
|
--> $DIR/fxhash.rs:8:24
|
2018-08-10 17:58:23 +00:00
|
|
|
|
|
2018-08-01 14:30:44 +00:00
|
|
|
8 | use std::collections::{HashMap, HashSet};
|
2018-08-13 07:23:07 +00:00
|
|
|
| ^^^^^^^ help: use: `FxHashMap`
|
2018-08-10 17:58:23 +00:00
|
|
|
|
|
2018-08-01 14:30:44 +00:00
|
|
|
= note: `-D clippy::default-hash-types` implied by `-D warnings`
|
2018-08-10 17:58:23 +00:00
|
|
|
|
|
|
|
error: Prefer FxHashSet over HashSet, it has better performance and we don't need any collision prevention in clippy
|
2018-08-01 14:30:44 +00:00
|
|
|
--> $DIR/fxhash.rs:8:33
|
2018-08-10 17:58:23 +00:00
|
|
|
|
|
2018-08-01 14:30:44 +00:00
|
|
|
8 | use std::collections::{HashMap, HashSet};
|
2018-08-13 07:23:07 +00:00
|
|
|
| ^^^^^^^ help: use: `FxHashSet`
|
2018-08-10 17:58:23 +00:00
|
|
|
|
|
|
|
error: Prefer FxHashMap over HashMap, it has better performance and we don't need any collision prevention in clippy
|
2018-08-01 14:30:44 +00:00
|
|
|
--> $DIR/fxhash.rs:12:15
|
2018-08-10 17:58:23 +00:00
|
|
|
|
|
2018-08-01 14:30:44 +00:00
|
|
|
12 | let _map: HashMap<String, String> = HashMap::default();
|
2018-08-13 07:23:07 +00:00
|
|
|
| ^^^^^^^ help: use: `FxHashMap`
|
2018-08-10 17:58:23 +00:00
|
|
|
|
|
|
|
error: Prefer FxHashMap over HashMap, it has better performance and we don't need any collision prevention in clippy
|
2018-08-01 14:30:44 +00:00
|
|
|
--> $DIR/fxhash.rs:12:41
|
2018-08-10 17:58:23 +00:00
|
|
|
|
|
2018-08-01 14:30:44 +00:00
|
|
|
12 | let _map: HashMap<String, String> = HashMap::default();
|
2018-08-13 07:23:07 +00:00
|
|
|
| ^^^^^^^ help: use: `FxHashMap`
|
2018-08-10 17:58:23 +00:00
|
|
|
|
|
|
|
error: Prefer FxHashSet over HashSet, it has better performance and we don't need any collision prevention in clippy
|
2018-08-01 14:30:44 +00:00
|
|
|
--> $DIR/fxhash.rs:13:15
|
2018-08-10 17:58:23 +00:00
|
|
|
|
|
2018-08-01 14:30:44 +00:00
|
|
|
13 | let _set: HashSet<String> = HashSet::default();
|
2018-08-13 07:23:07 +00:00
|
|
|
| ^^^^^^^ help: use: `FxHashSet`
|
2018-08-10 17:58:23 +00:00
|
|
|
|
|
|
|
error: Prefer FxHashSet over HashSet, it has better performance and we don't need any collision prevention in clippy
|
2018-08-01 14:30:44 +00:00
|
|
|
--> $DIR/fxhash.rs:13:33
|
2018-08-10 17:58:23 +00:00
|
|
|
|
|
2018-08-01 14:30:44 +00:00
|
|
|
13 | let _set: HashSet<String> = HashSet::default();
|
2018-08-13 07:23:07 +00:00
|
|
|
| ^^^^^^^ help: use: `FxHashSet`
|
2018-08-10 17:58:23 +00:00
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
|