1 error[E0050]: method `foo` has 1 parameter but the declaration in trait `Foo::foo` has 2
2 --> $DIR/E0050.rs:10:12
4 LL | fn foo(&self, x: u8) -> bool;
5 | ------------ trait requires 2 parameters
7 LL | fn foo(&self) -> bool { true }
8 | ^^^^^ expected 2 parameters, found 1
10 error[E0050]: method `bar` has 1 parameter but the declaration in trait `Foo::bar` has 4
11 --> $DIR/E0050.rs:11:12
13 LL | fn bar(&self, x: u8, y: u8, z: u8);
14 | -------------------------- trait requires 4 parameters
16 LL | fn bar(&self) { }
17 | ^^^^^ expected 4 parameters, found 1
19 error[E0050]: method `less` has 4 parameters but the declaration in trait `Foo::less` has 1
20 --> $DIR/E0050.rs:12:13
23 | ----- trait requires 1 parameter
25 LL | fn less(&self, x: u8, y: u8, z: u8) { }
26 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter, found 4
28 error: aborting due to 3 previous errors
30 For more information about this error, try `rustc --explain E0050`.