diff options
Diffstat (limited to 'src/test/incremental/const-generics/issue-65623.rs')
-rw-r--r-- | src/test/incremental/const-generics/issue-65623.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/incremental/const-generics/issue-65623.rs b/src/test/incremental/const-generics/issue-65623.rs deleted file mode 100644 index 22bbcbcab..000000000 --- a/src/test/incremental/const-generics/issue-65623.rs +++ /dev/null @@ -1,12 +0,0 @@ -// revisions:rpass1 -pub struct Foo<T, const N: usize>([T; 0]); - -impl<T, const N: usize> Foo<T, {N}> { - pub fn new() -> Self { - Foo([]) - } -} - -fn main() { - let _: Foo<u32, 0> = Foo::new(); -} |