summaryrefslogtreecommitdiffstats
path: root/src/test/ui/or-patterns/fn-param-wrap-parens.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/or-patterns/fn-param-wrap-parens.fixed')
-rw-r--r--src/test/ui/or-patterns/fn-param-wrap-parens.fixed13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/or-patterns/fn-param-wrap-parens.fixed b/src/test/ui/or-patterns/fn-param-wrap-parens.fixed
deleted file mode 100644
index b9490aaf9..000000000
--- a/src/test/ui/or-patterns/fn-param-wrap-parens.fixed
+++ /dev/null
@@ -1,13 +0,0 @@
-// Test the suggestion to wrap an or-pattern as a function parameter in parens.
-
-// run-rustfix
-
-#![allow(warnings)]
-
-fn main() {}
-
-enum E { A, B }
-use E::*;
-
-#[cfg(FALSE)]
-fn fun1((A | B): E) {} //~ ERROR top-level or-patterns are not allowed