summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/const_let_irrefutable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/const_let_irrefutable.rs')
-rw-r--r--src/test/ui/consts/const_let_irrefutable.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/consts/const_let_irrefutable.rs b/src/test/ui/consts/const_let_irrefutable.rs
deleted file mode 100644
index e889abf4a..000000000
--- a/src/test/ui/consts/const_let_irrefutable.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-// build-pass (FIXME(62277): could be check-pass?)
-
-fn main() {}
-
-const fn tup((a, b): (i32, i32)) -> i32 {
- a + b
-}
-
-const fn array([a, b]: [i32; 2]) -> i32 {
- a + b
-}