fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0201]: duplicate definitions with name `Bar`: 2 --> $DIR/associated-item-duplicate-names-3.rs:14:5 3 | 4LL | type Bar; 5 | --------- item in trait 6... 7LL | type Bar = i16; 8 | --------------- previous definition here 9LL | type Bar = u16; 10 | ^^^^^^^^^^^^^^^ duplicate definition 11 12error[E0223]: ambiguous associated type 13 --> $DIR/associated-item-duplicate-names-3.rs:18:12 14 | 15LL | let x: Baz::Bar = 5; 16 | ^^^^^^^^ help: use the fully-qualified path: `<Baz as Foo>::Bar` 17 18error: aborting due to 2 previous errors 19 20Some errors have detailed explanations: E0201, E0223. 21For more information about an error, try `rustc --explain E0201`.