]> git.proxmox.com Git - rustc.git/blame - src/test/ui/blind-item-item-shadow.stderr
New upstream version 1.26.0+dfsg1
[rustc.git] / src / test / ui / blind-item-item-shadow.stderr
CommitLineData
ff7c6d11
XL
1error[E0255]: the name `foo` is defined multiple times
2 --> $DIR/blind-item-item-shadow.rs:13:5
3 |
0531ce1d 4LL | mod foo { pub mod foo { } }
ff7c6d11 5 | ------- previous definition of the module `foo` here
0531ce1d
XL
6LL |
7LL | use foo::foo;
ff7c6d11
XL
8 | ^^^^^^^^ `foo` reimported here
9 |
10 = note: `foo` must be defined only once in the type namespace of this module
11help: You can use `as` to change the binding name of the import
12 |
0531ce1d 13LL | use foo::foo as other_foo;
2c00a5a8 14 | ^^^^^^^^^^^^^^^^^^^^^
ff7c6d11
XL
15
16error: aborting due to previous error
17
0531ce1d 18For more information about this error, try `rustc --explain E0255`.