rust/tests/ui/random_state.stderr
2018-12-30 02:45:34 +01:00

29 lines
748 B
Plaintext

error: usage of RandomState
--> $DIR/random_state.rs:9:19
|
LL | let mut map = HashMap::new();
| ^^^^^^^^^^^^
|
= note: `-D clippy::random-state` implied by `-D warnings`
error: usage of RandomState
--> $DIR/random_state.rs:11:19
|
LL | let mut map = HashMap::with_hasher(RandomState::new());
| ^^^^^^^^^^^^^^^^^^^^
error: usage of RandomState
--> $DIR/random_state.rs:13:15
|
LL | let _map: HashMap<_, _> = vec![(2, 3)].into_iter().collect();
| ^^^^^^^^^^^^^
error: usage of RandomState
--> $DIR/random_state.rs:14:19
|
LL | let _vec: Vec<HashMap<i32, i32>>;
| ^^^^^^^^^^^^^^^^^
error: aborting due to 4 previous errors