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