]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/issue-101421.rs
Auto merge of #103600 - compiler-errors:early-binder-nits, r=spastorino
[rust.git] / src / test / ui / suggestions / issue-101421.rs
1 pub trait Ice {
2     fn f(&self, _: ());
3 }
4
5 impl Ice for () {
6     fn f(&self, _: ()) {}
7 }
8
9 fn main() {
10     ().f::<()>(());
11     //~^ ERROR this associated function takes 0 generic arguments but 1 generic argument was supplied
12 }