summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2005-default-binding-mode/slice.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/rfc-2005-default-binding-mode/slice.rs')
-rw-r--r--tests/ui/rfc-2005-default-binding-mode/slice.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/ui/rfc-2005-default-binding-mode/slice.rs b/tests/ui/rfc-2005-default-binding-mode/slice.rs
deleted file mode 100644
index 363a0e3e6..000000000
--- a/tests/ui/rfc-2005-default-binding-mode/slice.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-pub fn main() {
- let sl: &[u8] = b"foo";
-
- match sl { //~ ERROR non-exhaustive patterns
- [first, remainder @ ..] => {},
- };
-}