mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
13 lines
595 B
Plaintext
13 lines
595 B
Plaintext
error[E0050]: method `come_on_a_little_more_effort` has 0 parameters but the declaration in trait `TooLittle::come_on_a_little_more_effort` has 3
|
|
--> $DIR/method-signature-matches.rs:46:5
|
|
|
|
|
LL | fn come_on_a_little_more_effort(_: (), _: (), _: ()) -> impl Sized;
|
|
| ---------------- trait requires 3 parameters
|
|
...
|
|
LL | fn come_on_a_little_more_effort() {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters, found 0
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0050`.
|