1 error[E0201]: duplicate definitions with name `baz`:
4 LL | fn baz(&self) -> bool;
5 | ---------------------- item in trait
7 LL | fn baz(&self) -> bool { true }
8 | ------------------------------ previous definition here
9 LL | fn baz(&self) -> bool { self.0 > 5 }
10 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definition
12 error[E0201]: duplicate definitions with name `Quux`:
13 --> $DIR/E0201.rs:18:5
16 | ---------- item in trait
19 | ---------------- previous definition here
22 | ^^^^^^^^^^^^^^^^ duplicate definition
24 error[E0592]: duplicate definitions with name `bar`
27 LL | fn bar(&self) -> bool { self.0 > 5 }
28 | --------------------- other definition for `bar`
30 | ^^^^^^^^ duplicate definitions for `bar`
32 error: aborting due to 3 previous errors
34 Some errors have detailed explanations: E0201, E0592.
35 For more information about an error, try `rustc --explain E0201`.