Sign in
android
/
toolchain
/
rustc
/
d59a28787b7ba06edbd1e4528a42b66d67dc6a19
/
.
/
src
/
test
/
ui
/
const-generics
/
const-param-shadowing.rs
blob: 8440e47968e9aea21a91ae4a465600d6be346565 [
file
] [
log
] [
blame
]
#![
feature
(
min_const_generics
)]
type
N
=
u32
;
struct
Foo
<
const
M
:
usize
>;
fn
test
<
const
N
:
usize
>()
->
Foo
<
N
>
{
//~ ERROR type provided when
Foo
}
fn
main
()
{}