]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-item/associated-item-duplicate-names-3.stderr
Merge commit '0969bc6dde001e01e7e1f58c8ccd7750f8a49ae1' into sync_cg_clif-2021-03-29
[rust.git] / src / test / ui / associated-item / associated-item-duplicate-names-3.stderr
1 error[E0201]: duplicate definitions with name `Bar`:
2   --> $DIR/associated-item-duplicate-names-3.rs:14:5
3    |
4 LL |     type Bar = i16;
5    |     --------------- previous definition of `Bar` here
6 LL |     type Bar = u16;
7    |     ^^^^^^^^^^^^^^^ duplicate definition
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0201`.