1
1
error: iteration over unordered hash-based type
2
- --> $DIR/iter_over_hash_type.rs:13 :5
2
+ --> $DIR/iter_over_hash_type.rs:18 :5
3
3
|
4
4
LL | / for x in &hash_set {
5
5
LL | | let _ = x;
@@ -10,84 +10,100 @@ LL | | }
10
10
= help: to override `-D warnings` add `#[allow(clippy::iter_over_hash_type)]`
11
11
12
12
error: iteration over unordered hash-based type
13
- --> $DIR/iter_over_hash_type.rs:16 :5
13
+ --> $DIR/iter_over_hash_type.rs:21 :5
14
14
|
15
15
LL | / for x in hash_set.iter() {
16
16
LL | | let _ = x;
17
17
LL | | }
18
18
| |_____^
19
19
20
20
error: iteration over unordered hash-based type
21
- --> $DIR/iter_over_hash_type.rs:19 :5
21
+ --> $DIR/iter_over_hash_type.rs:24 :5
22
22
|
23
23
LL | / for x in hash_set.clone() {
24
24
LL | | let _ = x;
25
25
LL | | }
26
26
| |_____^
27
27
28
28
error: iteration over unordered hash-based type
29
- --> $DIR/iter_over_hash_type.rs:22 :5
29
+ --> $DIR/iter_over_hash_type.rs:27 :5
30
30
|
31
31
LL | / for x in hash_set.drain() {
32
32
LL | | let _ = x;
33
33
LL | | }
34
34
| |_____^
35
35
36
36
error: iteration over unordered hash-based type
37
- --> $DIR/iter_over_hash_type.rs:25 :5
37
+ --> $DIR/iter_over_hash_type.rs:32 :5
38
38
|
39
39
LL | / for (x, y) in &hash_map {
40
40
LL | | let _ = (x, y);
41
41
LL | | }
42
42
| |_____^
43
43
44
44
error: iteration over unordered hash-based type
45
- --> $DIR/iter_over_hash_type.rs:28 :5
45
+ --> $DIR/iter_over_hash_type.rs:35 :5
46
46
|
47
47
LL | / for x in hash_map.keys() {
48
48
LL | | let _ = x;
49
49
LL | | }
50
50
| |_____^
51
51
52
52
error: iteration over unordered hash-based type
53
- --> $DIR/iter_over_hash_type.rs:31 :5
53
+ --> $DIR/iter_over_hash_type.rs:38 :5
54
54
|
55
55
LL | / for x in hash_map.values() {
56
56
LL | | let _ = x;
57
57
LL | | }
58
58
| |_____^
59
59
60
60
error: iteration over unordered hash-based type
61
- --> $DIR/iter_over_hash_type.rs:34 :5
61
+ --> $DIR/iter_over_hash_type.rs:41 :5
62
62
|
63
63
LL | / for x in hash_map.values_mut() {
64
64
LL | | *x += 1;
65
65
LL | | }
66
66
| |_____^
67
67
68
68
error: iteration over unordered hash-based type
69
- --> $DIR/iter_over_hash_type.rs:37 :5
69
+ --> $DIR/iter_over_hash_type.rs:44 :5
70
70
|
71
71
LL | / for x in hash_map.iter() {
72
72
LL | | let _ = x;
73
73
LL | | }
74
74
| |_____^
75
75
76
76
error: iteration over unordered hash-based type
77
- --> $DIR/iter_over_hash_type.rs:40 :5
77
+ --> $DIR/iter_over_hash_type.rs:47 :5
78
78
|
79
79
LL | / for x in hash_map.clone() {
80
80
LL | | let _ = x;
81
81
LL | | }
82
82
| |_____^
83
83
84
84
error: iteration over unordered hash-based type
85
- --> $DIR/iter_over_hash_type.rs:43 :5
85
+ --> $DIR/iter_over_hash_type.rs:50 :5
86
86
|
87
87
LL | / for x in hash_map.drain() {
88
88
LL | | let _ = x;
89
89
LL | | }
90
90
| |_____^
91
91
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
93
109
0 commit comments