]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0428.stderr
Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup
[rust.git] / src / test / ui / error-codes / E0428.stderr
1 error[E0428]: the name `Bar` is defined multiple times
2   --> $DIR/E0428.rs:2:1
3    |
4 LL | struct Bar;
5    | ----------- previous definition of the type `Bar` here
6 LL | struct Bar;
7    | ^^^^^^^^^^^ `Bar` redefined here
8    |
9    = note: `Bar` must be defined only once in the type namespace of this module
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0428`.