Skip to content

Commit 774b8e5

Browse files
committed
bless ui tests for new nightly
1 parent cc09d89 commit 774b8e5

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

test_suite/ui/invalid_name_in_default.stderr

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ error[E0599]: no variant or associated item named `C` found for enum `Test` in t
99
|
1010
help: there is a variant with a similar name
1111
|
12-
3 | #[bitflags(default = A | A)]
13-
| ~
12+
3 - #[bitflags(default = A | C)]
13+
3 + #[bitflags(default = A | A)]
14+
|
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
error: Flag value out of range for u64
2-
--> $DIR/shift_out_of_range.rs:5:5
2+
--> ui/shift_out_of_range.rs:5:5
33
|
44
5 | BigNumber = 1 << 69,
55
| ^^^^^^^^^^^^^^^^^^^
66

77
error: Flag value out of range for u16
8-
--> $DIR/shift_out_of_range.rs:12:5
8+
--> ui/shift_out_of_range.rs:12:5
99
|
1010
12 | BigNumber = 1 << 20,
1111
| ^^^^^^^^^^^^^^^^^^^
1212

1313
error: Flag value out of range for u16
14-
--> $DIR/shift_out_of_range.rs:19:5
14+
--> ui/shift_out_of_range.rs:19:5
1515
|
1616
19 | BigNumber = (1 << 10) << 10,
1717
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1818

19-
error[E0080]: evaluation of constant value failed
20-
--> $DIR/shift_out_of_range.rs:5:17
19+
error[E0080]: attempt to shift left by `69_i32`, which would overflow
20+
--> ui/shift_out_of_range.rs:5:17
2121
|
2222
5 | BigNumber = 1 << 69,
23-
| ^^^^^^^ attempt to shift left by `69_i32`, which would overflow
23+
| ^^^^^^^ evaluation of constant value failed here
2424

25-
error[E0080]: evaluation of constant value failed
26-
--> $DIR/shift_out_of_range.rs:12:17
25+
error[E0080]: attempt to shift left by `20_i32`, which would overflow
26+
--> ui/shift_out_of_range.rs:12:17
2727
|
2828
12 | BigNumber = 1 << 20,
29-
| ^^^^^^^ attempt to shift left by `20_i32`, which would overflow
29+
| ^^^^^^^ evaluation of constant value failed here

0 commit comments

Comments
 (0)