]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-item/associated-item-duplicate-names-3.stderr
Rollup merge of #59328 - koalatux:iter-nth-back, r=scottmcm
[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`.