diff options
Diffstat (limited to 'src/test/ui/const-generics/generic_const_exprs/closures.rs')
-rw-r--r-- | src/test/ui/const-generics/generic_const_exprs/closures.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/const-generics/generic_const_exprs/closures.rs b/src/test/ui/const-generics/generic_const_exprs/closures.rs deleted file mode 100644 index 1ea310d06..000000000 --- a/src/test/ui/const-generics/generic_const_exprs/closures.rs +++ /dev/null @@ -1,6 +0,0 @@ -#![feature(generic_const_exprs)] -#![allow(incomplete_features)] -fn test<const N: usize>() -> [u8; N + (|| 42)()] {} -//~^ ERROR cycle detected when building an abstract representation - -fn main() {} |