Skip to content

Commit edb9d2b

Browse files
committed
Fix ui test errors
1 parent 59688e1 commit edb9d2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/ui/feature-gate-exhaustive-patterns.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
error[E0005]: refutable pattern in local binding: `Err(_)` not covered
22
--> $DIR/feature-gate-exhaustive-patterns.rs:16:9
33
|
4-
16 | let Ok(_x) = foo(); //~ ERROR refutable pattern in local binding
4+
LL | let Ok(_x) = foo(); //~ ERROR refutable pattern in local binding
55
| ^^^^^^ pattern `Err(_)` not covered
66

77
error: aborting due to previous error

src/test/ui/reachable/expr_unary.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
error[E0600]: cannot apply unary operator `!` to type `!`
22
--> $DIR/expr_unary.rs:17:16
33
|
4-
17 | let x: ! = ! { return; }; //~ ERROR unreachable
4+
LL | let x: ! = ! { return; }; //~ ERROR unreachable
55
| ^^^^^^^^^^^^^
66

77
error: unreachable expression

0 commit comments

Comments
 (0)