1 error[E0201]: duplicate definitions with name `bar`:
4 LL | fn bar(&self) -> bool { self.0 > 5 }
5 | ------------------------------------ previous definition of `bar` here
7 | ^^^^^^^^^^^ duplicate definition
9 error[E0201]: duplicate definitions with name `baz`:
10 --> $DIR/E0201.rs:17:5
12 LL | fn baz(&self) -> bool { true }
13 | ------------------------------ previous definition of `baz` here
14 LL | fn baz(&self) -> bool { self.0 > 5 }
15 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definition
17 error[E0201]: duplicate definitions with name `Quux`:
18 --> $DIR/E0201.rs:18:5
21 | ---------------- previous definition of `Quux` here
24 | ^^^^^^^^^^^^^^^^ duplicate definition
26 error: aborting due to 3 previous errors
28 For more information about this error, try `rustc --explain E0201`.