1 error[E0201]: duplicate definitions with name `Ty`:
2 --> $DIR/associated-item-duplicate-names.rs:11:5
5 | ------------- previous definition of `Ty` here
7 | ^^^^^^^^^^^^^^^^ duplicate definition
9 error[E0201]: duplicate definitions with name `BAR`:
10 --> $DIR/associated-item-duplicate-names.rs:13:5
12 LL | const BAR: u32 = 7;
13 | ------------------- previous definition of `BAR` here
14 LL | const BAR: u32 = 8;
15 | ^^^^^^^^^^^^^^^^^^^ duplicate definition
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0201`.