summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/new-solver/array-default.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/new-solver/array-default.rs')
-rw-r--r--tests/ui/traits/new-solver/array-default.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/ui/traits/new-solver/array-default.rs b/tests/ui/traits/new-solver/array-default.rs
deleted file mode 100644
index 5077137b0..000000000
--- a/tests/ui/traits/new-solver/array-default.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-// compile-flags: -Ztrait-solver=next
-// check-pass
-
-fn has_default<const N: usize>() where [(); N]: Default {}
-
-fn main() {
- has_default::<1>();
-}