Commit fa5d58c 1 parent 1a3cf4b commit fa5d58c Copy full SHA for fa5d58c
File tree 4 files changed +8
-8
lines changed
test_suite/tests/ui/conflict
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -71,5 +71,5 @@ enum E3 {
71
71
}
72
72
73
73
fn main ( ) {
74
- @//fail
74
+ __FAIL__ ;
75
75
}
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
2
2
--> tests/ui/conflict/alias-enum.rs:74:5
3
3
|
4
- 74 | @//fail
5
- | ^ expected expression
4
+ 74 | __FAIL__;
5
+ | ^^^^^^^^ not found in this scope
6
6
7
7
warning: unreachable pattern
8
8
--> tests/ui/conflict/alias-enum.rs:13:9
Original file line number Diff line number Diff line change @@ -35,5 +35,5 @@ struct S3 {
35
35
}
36
36
37
37
fn main ( ) {
38
- @//fail
38
+ __FAIL__ ;
39
39
}
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
2
2
--> tests/ui/conflict/alias.rs:38:5
3
3
|
4
- 38 | @//fail
5
- | ^ expected expression
4
+ 38 | __FAIL__;
5
+ | ^^^^^^^^ not found in this scope
6
6
7
7
warning: unreachable pattern
8
8
--> tests/ui/conflict/alias.rs:10:5
You can’t perform that action at this time.
0 commit comments