diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/incremental/const-generics/try_unify_abstract_const_regression_tests/issue-85031-2.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/incremental/const-generics/try_unify_abstract_const_regression_tests/issue-85031-2.rs b/src/test/incremental/const-generics/try_unify_abstract_const_regression_tests/issue-85031-2.rs deleted file mode 100644 index db1e2fc2a..000000000 --- a/src/test/incremental/const-generics/try_unify_abstract_const_regression_tests/issue-85031-2.rs +++ /dev/null @@ -1,14 +0,0 @@ -// revisions: cfail -#![allow(incomplete_features)] -#![feature(generic_const_exprs)] - -pub struct Ref<'a>(&'a i32); - -impl<'a> Ref<'a> { - pub fn foo<const A: usize>() -> [(); A - 0] { - Self::foo() - //~^ error: type annotations needed - } -} - -fn main() {} |