]> git.proxmox.com Git - rustc.git/blob - tests/ui/double-type-import.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / double-type-import.stderr
1 error[E0252]: the name `X` is defined multiple times
2 --> $DIR/double-type-import.rs:3:9
3 |
4 LL | pub use self::bar::X;
5 | ------------ previous import of the type `X` here
6 LL | use self::bar::X;
7 | ^^^^^^^^^^^^ `X` reimported here
8 |
9 = note: `X` 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 E0252`.