about summary refs log tree commit diff
path: root/src/test/ui/binding
diff options
context:
space:
mode:
authorNadrieril <nadrieril@gmail.com>2019-09-28 16:05:38 +0200
committerNadrieril <nadrieril@gmail.com>2019-10-27 21:20:26 +0000
commit09f9947ebc68a8199c3dff8607a41571c48cc377 (patch)
treefb81c258de9902ea813c24c5ca08bcce9817a4bb /src/test/ui/binding
parent0f677c65e867d93a47ccbaeaf6e6725cde8c5ff6 (diff)
downloadrust-09f9947ebc68a8199c3dff8607a41571c48cc377.tar.gz
rust-09f9947ebc68a8199c3dff8607a41571c48cc377.zip
Gather together usefulness tests
I took most tests that were testing only for match exhaustiveness,
pattern refutability or match arm reachability, and put them in
the same test folder.
Diffstat (limited to 'src/test/ui/binding')
-rw-r--r--src/test/ui/binding/nested-exhaustive-match.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/binding/nested-exhaustive-match.rs b/src/test/ui/binding/nested-exhaustive-match.rs
deleted file mode 100644
index 8b2294f8432..00000000000
--- a/src/test/ui/binding/nested-exhaustive-match.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-// run-pass
-#![allow(dead_code)]
-// pretty-expanded FIXME #23616
-
-struct Foo { foo: bool, bar: Option<isize>, baz: isize }
-
-pub fn main() {
-    match (Foo{foo: true, bar: Some(10), baz: 20}) {
-      Foo{foo: true, bar: Some(_), ..} => {}
-      Foo{foo: false, bar: None, ..} => {}
-      Foo{foo: true, bar: None, ..} => {}
-      Foo{foo: false, bar: Some(_), ..} => {}
-    }
-}