Fix ui test errors
This commit is contained in:
parent
59688e119e
commit
edb9d2b20d
2 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
error[E0005]: refutable pattern in local binding: `Err(_)` not covered
|
||||
--> $DIR/feature-gate-exhaustive-patterns.rs:16:9
|
||||
|
|
||||
16 | let Ok(_x) = foo(); //~ ERROR refutable pattern in local binding
|
||||
LL | let Ok(_x) = foo(); //~ ERROR refutable pattern in local binding
|
||||
| ^^^^^^ pattern `Err(_)` not covered
|
||||
|
||||
error: aborting due to previous error
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
error[E0600]: cannot apply unary operator `!` to type `!`
|
||||
--> $DIR/expr_unary.rs:17:16
|
||||
|
|
||||
17 | let x: ! = ! { return; }; //~ ERROR unreachable
|
||||
LL | let x: ! = ! { return; }; //~ ERROR unreachable
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: unreachable expression
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue