]> git.lizzy.rs Git - rust.git/blob - src/test/ui/blind/blind-item-block-item-shadow.stderr
Auto merge of #100845 - timvermeulen:iter_compare, r=scottmcm
[rust.git] / src / test / ui / blind / blind-item-block-item-shadow.stderr
1 error[E0255]: the name `Bar` is defined multiple times
2   --> $DIR/blind-item-block-item-shadow.rs:6:13
3    |
4 LL |         struct Bar;
5    |         ----------- previous definition of the type `Bar` here
6 LL |         use foo::Bar;
7    |             ^^^^^^^^ `Bar` reimported here
8    |
9    = note: `Bar` must be defined only once in the type namespace of this block
10 help: you can use `as` to change the binding name of the import
11    |
12 LL |         use foo::Bar as OtherBar;
13    |             ~~~~~~~~~~~~~~~~~~~~
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0255`.