rust/tests/ui/fxhash.stderr

41 lines
1.7 KiB
Plaintext
Raw Normal View History

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