|
1 | 1 | error: using `drain` can result in unstable query results
|
2 |
| - --> $DIR/query_stability.rs:13:16 |
| 2 | + --> $DIR/query_stability.rs:14:16 |
3 | 3 | |
|
4 | 4 | LL | for _ in x.drain() {}
|
5 | 5 | | ^^^^^
|
6 | 6 | |
|
7 | 7 | = note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
|
8 | 8 | note: the lint level is defined here
|
9 |
| - --> $DIR/query_stability.rs:4:9 |
| 9 | + --> $DIR/query_stability.rs:5:9 |
10 | 10 | |
|
11 | 11 | LL | #![deny(rustc::potential_query_instability)]
|
12 | 12 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
13 | 13 |
|
14 | 14 | error: using `iter` can result in unstable query results
|
15 |
| - --> $DIR/query_stability.rs:16:16 |
| 15 | + --> $DIR/query_stability.rs:17:16 |
16 | 16 | |
|
17 | 17 | LL | for _ in x.iter() {}
|
18 | 18 | | ^^^^
|
19 | 19 | |
|
20 | 20 | = note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
|
21 | 21 |
|
22 | 22 | error: using `iter_mut` can result in unstable query results
|
23 |
| - --> $DIR/query_stability.rs:19:36 |
| 23 | + --> $DIR/query_stability.rs:20:36 |
24 | 24 | |
|
25 | 25 | LL | for _ in Some(&mut x).unwrap().iter_mut() {}
|
26 | 26 | | ^^^^^^^^
|
27 | 27 | |
|
28 | 28 | = note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
|
29 | 29 |
|
30 | 30 | error: using `into_iter` can result in unstable query results
|
31 |
| - --> $DIR/query_stability.rs:22:14 |
| 31 | + --> $DIR/query_stability.rs:23:14 |
32 | 32 | |
|
33 | 33 | LL | for _ in x {}
|
34 | 34 | | ^
|
35 | 35 | |
|
36 | 36 | = note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
|
37 | 37 |
|
38 | 38 | error: using `keys` can result in unstable query results
|
39 |
| - --> $DIR/query_stability.rs:26:15 |
| 39 | + --> $DIR/query_stability.rs:27:15 |
40 | 40 | |
|
41 | 41 | LL | let _ = x.keys();
|
42 | 42 | | ^^^^
|
43 | 43 | |
|
44 | 44 | = note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
|
45 | 45 |
|
46 | 46 | error: using `values` can result in unstable query results
|
47 |
| - --> $DIR/query_stability.rs:29:15 |
| 47 | + --> $DIR/query_stability.rs:30:15 |
48 | 48 | |
|
49 | 49 | LL | let _ = x.values();
|
50 | 50 | | ^^^^^^
|
51 | 51 | |
|
52 | 52 | = note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
|
53 | 53 |
|
54 | 54 | error: using `values_mut` can result in unstable query results
|
55 |
| - --> $DIR/query_stability.rs:33:18 |
| 55 | + --> $DIR/query_stability.rs:34:18 |
56 | 56 | |
|
57 | 57 | LL | for val in x.values_mut() {
|
58 | 58 | | ^^^^^^^^^^
|
59 | 59 | |
|
60 | 60 | = note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
|
61 | 61 |
|
62 | 62 | error: using `into_iter` can result in unstable query results
|
63 |
| - --> $DIR/query_stability.rs:38:38 |
| 63 | + --> $DIR/query_stability.rs:39:38 |
64 | 64 | |
|
65 | 65 | LL | FxHashMap::<u32, i32>::default().extend(x);
|
66 | 66 | | ^^^^^^^^^
|
67 | 67 | |
|
68 | 68 | = note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
|
69 | 69 |
|
70 | 70 | error: using `into_iter` can result in unstable query results
|
71 |
| - --> $DIR/query_stability.rs:47:9 |
| 71 | + --> $DIR/query_stability.rs:48:9 |
72 | 72 | |
|
73 | 73 | LL | _ = hide_into_iter(map);
|
74 | 74 | | ^^^^^^^^^^^^^^^^^^^
|
|
0 commit comments