fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
493 B17 linesraw
1error[E0107]: method takes 0 generic arguments but 1 generic argument was supplied
2  --> $DIR/issue-101421.rs:10:8
3   |
4LL |     ().f::<()>(());
5   |        ^------ help: remove these generics
6   |        |
7   |        expected 0 generic arguments
8   |
9note: method defined here, with 0 generic parameters
10  --> $DIR/issue-101421.rs:2:8
11   |
12LL |     fn f(&self, _: ());
13   |        ^
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0107`.