summaryrefslogtreecommitdiffstats
path: root/src/test/ui/pattern/usefulness/match-byte-array-patterns-2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/pattern/usefulness/match-byte-array-patterns-2.rs')
-rw-r--r--src/test/ui/pattern/usefulness/match-byte-array-patterns-2.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/pattern/usefulness/match-byte-array-patterns-2.rs b/src/test/ui/pattern/usefulness/match-byte-array-patterns-2.rs
deleted file mode 100644
index 33468d03f..000000000
--- a/src/test/ui/pattern/usefulness/match-byte-array-patterns-2.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-fn main() {
- let buf = &[0, 1, 2, 3];
-
- match buf { //~ ERROR non-exhaustive
- b"AAAA" => {}
- }
-
- let buf: &[u8] = buf;
-
- match buf { //~ ERROR non-exhaustive
- b"AAAA" => {}
- }
-}