fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0201]: duplicate definitions with name `bar`: 2 --> $DIR/E0201.rs:5:5 3 | 4LL | fn bar(&self) -> bool { self.0 > 5 } 5 | ------------------------------------ previous definition of `bar` here 6LL | fn bar() {} 7 | ^^^^^^^^^^^ duplicate definition 8 9error[E0201]: duplicate definitions with name `baz`: 10 --> $DIR/E0201.rs:17:5 11 | 12LL | fn baz(&self) -> bool { true } 13 | ------------------------------ previous definition of `baz` here 14LL | fn baz(&self) -> bool { self.0 > 5 } 15 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definition 16 17error[E0201]: duplicate definitions with name `Quux`: 18 --> $DIR/E0201.rs:18:5 19 | 20LL | type Quux = u32; 21 | ---------------- previous definition of `Quux` here 22... 23LL | type Quux = u32; 24 | ^^^^^^^^^^^^^^^^ duplicate definition 25 26error: aborting due to 3 previous errors 27 28For more information about this error, try `rustc --explain E0201`.