]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-101421.stderr
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / ui / suggestions / issue-101421.stderr
1 error[E0107]: this associated function takes 0 generic arguments but 1 generic argument was supplied
2   --> $DIR/issue-101421.rs:10:8
3    |
4 LL |     ().f::<()>(());
5    |        ^------ help: remove these generics
6    |        |
7    |        expected 0 generic arguments
8    |
9 note: associated function defined here, with 0 generic parameters
10   --> $DIR/issue-101421.rs:2:8
11    |
12 LL |     fn f(&self, _: ());
13    |        ^
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0107`.