blob: cc4120041b9865e7215259af4ec5ef3a50793dc2 (
plain)
1
2
3
4
5
6
7
8
|
// run-rustfix
fn two_type_params<A, B>(_: B) {}
fn main() {
two_type_params::<String, _>(100); //~ ERROR this function takes 2 generic arguments
two_type_params::<String, _>(100);
}
|