1 error[E0107]: this function takes 2 generic arguments but 1 generic argument was supplied
2 --> $DIR/missing-type-param-used-in-param.rs:6:5
4 LL | two_type_params::<String>(100);
5 | ^^^^^^^^^^^^^^^ ------ supplied 1 generic argument
7 | expected 2 generic arguments
9 note: function defined here, with 2 generic parameters: `A`, `B`
10 --> $DIR/missing-type-param-used-in-param.rs:3:4
12 LL | fn two_type_params<A, B>(_: B) {}
14 help: add missing generic argument
16 LL | two_type_params::<String, _>(100);
19 error: aborting due to previous error
21 For more information about this error, try `rustc --explain E0107`.