]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-101421.rs
Rollup merge of #106321 - compiler-errors:delayed-bug-backtrace, r=Nilstrieb
[rust.git] / tests / 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 }