diff options
Diffstat (limited to 'src/test/incremental/const-generics/issue-62536.rs')
-rw-r--r-- | src/test/incremental/const-generics/issue-62536.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/incremental/const-generics/issue-62536.rs b/src/test/incremental/const-generics/issue-62536.rs deleted file mode 100644 index 93c1dbf44..000000000 --- a/src/test/incremental/const-generics/issue-62536.rs +++ /dev/null @@ -1,9 +0,0 @@ -// revisions:cfail1 -struct S<T, const N: usize>([T; N]); - -fn f<T, const N: usize>(x: T) -> S<T, {N}> { panic!() } - -fn main() { - f(0u8); - //[cfail1]~^ ERROR type annotations needed -} |