Skip to content

Commit 3b0ff9c

Browse files
committed
Add //@ ignore-stage1 to query_stability.rs test
1 parent c3c2c23 commit 3b0ff9c

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

tests/ui-fulldeps/internal-lints/query_stability.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//@ compile-flags: -Z unstable-options
2+
//@ ignore-stage1
23

34
#![feature(rustc_private)]
45
#![deny(rustc::potential_query_instability)]

tests/ui-fulldeps/internal-lints/query_stability.stderr

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,74 @@
11
error: using `drain` can result in unstable query results
2-
--> $DIR/query_stability.rs:13:16
2+
--> $DIR/query_stability.rs:14:16
33
|
44
LL | for _ in x.drain() {}
55
| ^^^^^
66
|
77
= note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
88
note: the lint level is defined here
9-
--> $DIR/query_stability.rs:4:9
9+
--> $DIR/query_stability.rs:5:9
1010
|
1111
LL | #![deny(rustc::potential_query_instability)]
1212
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1313

1414
error: using `iter` can result in unstable query results
15-
--> $DIR/query_stability.rs:16:16
15+
--> $DIR/query_stability.rs:17:16
1616
|
1717
LL | for _ in x.iter() {}
1818
| ^^^^
1919
|
2020
= note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
2121

2222
error: using `iter_mut` can result in unstable query results
23-
--> $DIR/query_stability.rs:19:36
23+
--> $DIR/query_stability.rs:20:36
2424
|
2525
LL | for _ in Some(&mut x).unwrap().iter_mut() {}
2626
| ^^^^^^^^
2727
|
2828
= note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
2929

3030
error: using `into_iter` can result in unstable query results
31-
--> $DIR/query_stability.rs:22:14
31+
--> $DIR/query_stability.rs:23:14
3232
|
3333
LL | for _ in x {}
3434
| ^
3535
|
3636
= note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
3737

3838
error: using `keys` can result in unstable query results
39-
--> $DIR/query_stability.rs:26:15
39+
--> $DIR/query_stability.rs:27:15
4040
|
4141
LL | let _ = x.keys();
4242
| ^^^^
4343
|
4444
= note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
4545

4646
error: using `values` can result in unstable query results
47-
--> $DIR/query_stability.rs:29:15
47+
--> $DIR/query_stability.rs:30:15
4848
|
4949
LL | let _ = x.values();
5050
| ^^^^^^
5151
|
5252
= note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
5353

5454
error: using `values_mut` can result in unstable query results
55-
--> $DIR/query_stability.rs:33:18
55+
--> $DIR/query_stability.rs:34:18
5656
|
5757
LL | for val in x.values_mut() {
5858
| ^^^^^^^^^^
5959
|
6060
= note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
6161

6262
error: using `into_iter` can result in unstable query results
63-
--> $DIR/query_stability.rs:38:38
63+
--> $DIR/query_stability.rs:39:38
6464
|
6565
LL | FxHashMap::<u32, i32>::default().extend(x);
6666
| ^^^^^^^^^
6767
|
6868
= note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
6969

7070
error: using `into_iter` can result in unstable query results
71-
--> $DIR/query_stability.rs:47:9
71+
--> $DIR/query_stability.rs:48:9
7272
|
7373
LL | _ = hide_into_iter(map);
7474
| ^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)