Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
incremental
/
const-generics
/
issue-65623.rs
blob: aaabde8253be3a8780039dc8e47597e597f8d7f0 [
file
] [
log
] [
blame
] [
edit
]
//@ 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
();
}