File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
test_suite/tests/ui/conflict Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -71,5 +71,5 @@ enum E3 {
7171}
7272
7373fn main ( ) {
74- @//fail
74+ __FAIL__ ;
7575}
Original file line number Diff line number Diff line change 1- error: expected expression, found `@`
1+ error[E0425]: cannot find value `__FAIL__` in this scope
22 --> tests/ui/conflict/alias-enum.rs:74:5
33 |
4- 74 | @//fail
5- | ^ expected expression
4+ 74 | __FAIL__;
5+ | ^^^^^^^^ not found in this scope
66
77warning: unreachable pattern
88 --> tests/ui/conflict/alias-enum.rs:13:9
Original file line number Diff line number Diff line change @@ -35,5 +35,5 @@ struct S3 {
3535}
3636
3737fn main ( ) {
38- @//fail
38+ __FAIL__ ;
3939}
Original file line number Diff line number Diff line change 1- error: expected expression, found `@`
1+ error[E0425]: cannot find value `__FAIL__` in this scope
22 --> tests/ui/conflict/alias.rs:38:5
33 |
4- 38 | @//fail
5- | ^ expected expression
4+ 38 | __FAIL__;
5+ | ^^^^^^^^ not found in this scope
66
77warning: unreachable pattern
88 --> tests/ui/conflict/alias.rs:10:5
You can’t perform that action at this time.
0 commit comments