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