fork/rust

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

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

master
535 B12 linesraw
1error[E0050]: method `calm_down_please` has 3 parameters but the declaration in trait `TooMuch::calm_down_please` has 0
2  --> $DIR/method-signature-matches.rs:36:28
3   |
4LL |     fn calm_down_please() -> impl Sized;
5   |     ------------------------------------ trait requires 0 parameters
6...
7LL |     fn calm_down_please(_: (), _: (), _: ()) {}
8   |                            ^^^^^^^^^^^^^^^^ expected 0 parameters, found 3
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0050`.