diff options
Diffstat (limited to 'src/test/ui/pattern/usefulness/irrefutable-let-patterns.rs')
-rw-r--r-- | src/test/ui/pattern/usefulness/irrefutable-let-patterns.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/pattern/usefulness/irrefutable-let-patterns.rs b/src/test/ui/pattern/usefulness/irrefutable-let-patterns.rs deleted file mode 100644 index d400ef0bb..000000000 --- a/src/test/ui/pattern/usefulness/irrefutable-let-patterns.rs +++ /dev/null @@ -1,11 +0,0 @@ -// run-pass - -#![allow(irrefutable_let_patterns)] - -fn main() { - if let _ = 5 {} - - while let _ = 5 { - break; - } -} |