]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/missing-type-param-used-in-param.fixed
Rollup merge of #90420 - GuillaumeGomez:rustdoc-internals-feature, r=camelid
[rust.git] / src / test / ui / suggestions / missing-type-param-used-in-param.fixed
1 // run-rustfix
2
3 fn two_type_params<A, B>(_: B) {}
4
5 fn main() {
6     two_type_params::<String, _>(100); //~ ERROR this function takes 2 generic arguments
7     two_type_params::<String, _>(100);
8 }