diff options
Diffstat (limited to 'src/test/incremental/const-generics/try_unify_abstract_const_regression_tests/issue-77708-2.rs')
-rw-r--r-- | src/test/incremental/const-generics/try_unify_abstract_const_regression_tests/issue-77708-2.rs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/test/incremental/const-generics/try_unify_abstract_const_regression_tests/issue-77708-2.rs b/src/test/incremental/const-generics/try_unify_abstract_const_regression_tests/issue-77708-2.rs deleted file mode 100644 index 92bbcba4b..000000000 --- a/src/test/incremental/const-generics/try_unify_abstract_const_regression_tests/issue-77708-2.rs +++ /dev/null @@ -1,18 +0,0 @@ -// revisions: rpass -#![feature(generic_const_exprs)] -#![allow(incomplete_features)] - -struct Z; -const fn one() -> usize { - 1 -} - -fn from_a_to_b<T>(source: [u8; one()]) -> T { - todo!() -} - -fn not_main() { - let _: &Z = from_a_to_b([0; 1]); -} - -fn main() {} |