Sign in
◑
Theme
rust
/
rust
/
2a61ba8577ed3c3e1cfeb433d06cf5464ff2fdf3
/
.
/
tests
/
ui
/
suggestions
/
missing-type-param-used-in-param.fixed
blob: 3763ce53007aa655377de5e347d1ee6e099174d7 [
file
]
//@ run-rustfix
fn two_type_params
<
A
,
B
>(
_
:
B
)
{}
fn main
()
{
two_type_params
::<
String
,
_
>(
100
);
//~ ERROR function takes 2 generic arguments
two_type_params
::<
String
,
_
>(
100
);
}