fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0201]: duplicate definitions with name `Ty`: 2 --> $DIR/associated-item-duplicate-names.rs:11:5 3 | 4LL | type Ty; 5 | -------- item in trait 6... 7LL | type Ty = (); 8 | ------------- previous definition here 9LL | type Ty = usize; 10 | ^^^^^^^^^^^^^^^^ duplicate definition 11 12error[E0201]: duplicate definitions with name `BAR`: 13 --> $DIR/associated-item-duplicate-names.rs:13:5 14 | 15LL | const BAR: u32; 16 | --------------- item in trait 17... 18LL | const BAR: u32 = 7; 19 | ------------------- previous definition here 20LL | const BAR: u32 = 8; 21 | ^^^^^^^^^^^^^^^^^^^ duplicate definition 22 23error: aborting due to 2 previous errors 24 25For more information about this error, try `rustc --explain E0201`.