Sign in
◑
Theme
rust
/
rust
/
2a61ba8577ed3c3e1cfeb433d06cf5464ff2fdf3
/
.
/
tests
/
ui
/
const-generics
/
defaults
/
default-on-impl.rs
blob: 85d0c583965922fbefa5fff4424b0e9670a5619d [
file
]
struct
Foo
<
const
N
:
usize
>;
impl
<
const
N
:
usize
=
1
>
Foo
<
N
>
{}
//~^ ERROR defaults for generic parameters are not allowed here
fn
main
()
{}