11error: iteration over unordered hash-based type
2- --> $DIR/iter_over_hash_type.rs:13 :5
2+ --> $DIR/iter_over_hash_type.rs:18 :5
33 |
44LL | / for x in &hash_set {
55LL | | let _ = x;
@@ -10,84 +10,100 @@ LL | | }
1010 = help: to override `-D warnings` add `#[allow(clippy::iter_over_hash_type)]`
1111
1212error: iteration over unordered hash-based type
13- --> $DIR/iter_over_hash_type.rs:16 :5
13+ --> $DIR/iter_over_hash_type.rs:21 :5
1414 |
1515LL | / for x in hash_set.iter() {
1616LL | | let _ = x;
1717LL | | }
1818 | |_____^
1919
2020error: iteration over unordered hash-based type
21- --> $DIR/iter_over_hash_type.rs:19 :5
21+ --> $DIR/iter_over_hash_type.rs:24 :5
2222 |
2323LL | / for x in hash_set.clone() {
2424LL | | let _ = x;
2525LL | | }
2626 | |_____^
2727
2828error: iteration over unordered hash-based type
29- --> $DIR/iter_over_hash_type.rs:22 :5
29+ --> $DIR/iter_over_hash_type.rs:27 :5
3030 |
3131LL | / for x in hash_set.drain() {
3232LL | | let _ = x;
3333LL | | }
3434 | |_____^
3535
3636error: iteration over unordered hash-based type
37- --> $DIR/iter_over_hash_type.rs:25 :5
37+ --> $DIR/iter_over_hash_type.rs:32 :5
3838 |
3939LL | / for (x, y) in &hash_map {
4040LL | | let _ = (x, y);
4141LL | | }
4242 | |_____^
4343
4444error: iteration over unordered hash-based type
45- --> $DIR/iter_over_hash_type.rs:28 :5
45+ --> $DIR/iter_over_hash_type.rs:35 :5
4646 |
4747LL | / for x in hash_map.keys() {
4848LL | | let _ = x;
4949LL | | }
5050 | |_____^
5151
5252error: iteration over unordered hash-based type
53- --> $DIR/iter_over_hash_type.rs:31 :5
53+ --> $DIR/iter_over_hash_type.rs:38 :5
5454 |
5555LL | / for x in hash_map.values() {
5656LL | | let _ = x;
5757LL | | }
5858 | |_____^
5959
6060error: iteration over unordered hash-based type
61- --> $DIR/iter_over_hash_type.rs:34 :5
61+ --> $DIR/iter_over_hash_type.rs:41 :5
6262 |
6363LL | / for x in hash_map.values_mut() {
6464LL | | *x += 1;
6565LL | | }
6666 | |_____^
6767
6868error: iteration over unordered hash-based type
69- --> $DIR/iter_over_hash_type.rs:37 :5
69+ --> $DIR/iter_over_hash_type.rs:44 :5
7070 |
7171LL | / for x in hash_map.iter() {
7272LL | | let _ = x;
7373LL | | }
7474 | |_____^
7575
7676error: iteration over unordered hash-based type
77- --> $DIR/iter_over_hash_type.rs:40 :5
77+ --> $DIR/iter_over_hash_type.rs:47 :5
7878 |
7979LL | / for x in hash_map.clone() {
8080LL | | let _ = x;
8181LL | | }
8282 | |_____^
8383
8484error: iteration over unordered hash-based type
85- --> $DIR/iter_over_hash_type.rs:43 :5
85+ --> $DIR/iter_over_hash_type.rs:50 :5
8686 |
8787LL | / for x in hash_map.drain() {
8888LL | | let _ = x;
8989LL | | }
9090 | |_____^
9191
92- error: aborting due to 11 previous errors
92+ error: iteration over unordered hash-based type
93+ --> $DIR/iter_over_hash_type.rs:55:5
94+ |
95+ LL | / for x in fx_hash_set {
96+ LL | | let _ = x;
97+ LL | | }
98+ | |_____^
99+
100+ error: iteration over unordered hash-based type
101+ --> $DIR/iter_over_hash_type.rs:58:5
102+ |
103+ LL | / for x in fx_hash_map {
104+ LL | | let _ = x;
105+ LL | | }
106+ | |_____^
107+
108+ error: aborting due to 13 previous errors
93109
0 commit comments