Skip to content

Commit b99a3cf

Browse files
eggyalfmease
andcommitted
Remove superfluous @check-fail header command.
It's the default! Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
1 parent 34c57df commit b99a3cf

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

tests/ui/let-else/uninitialized-refutable-let-issue-123844.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// An uninitialized refutable let should not suggest `let else`, as it can't be used with deferred
33
// initialization.
44
//
5-
// @check-fail
6-
75
fn main() {
86
let Some(x); //~ ERROR refutable pattern in local binding
97
x = 1;

tests/ui/let-else/uninitialized-refutable-let-issue-123844.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0005]: refutable pattern in local binding
2-
--> $DIR/uninitialized-refutable-let-issue-123844.rs:8:9
2+
--> $DIR/uninitialized-refutable-let-issue-123844.rs:6:9
33
|
44
LL | let Some(x);
55
| ^^^^^^^ pattern `None` not covered

0 commit comments

Comments
 (0)