Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
const-generics
/
early
/
const-param-shadowing.rs
blob: ddd15dbc41bc36c85f19647c8c87fb8206daee00 [
file
] [
log
] [
blame
] [
edit
]
type
N
=
u32
;
struct
Foo
<
const
M
:
usize
>;
fn
test
<
const
N
:
usize
>()
->
Foo
<
N
>
{
//~ ERROR type provided when
Foo
}
fn
main
()
{}