]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/missing-type-param-used-in-param.fixed
Merge commit 'e8dca3e87d164d2806098c462c6ce41301341f68' into sync_from_cg_gcc
[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 }