about summary refs log tree commit diff
path: root/tests/ui/imports/duplicate-use-bindings.stderr
blob: 1d4f1fc82db40eb26ce3afd55a7ed9a50702476a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error[E0252]: the name `X` is defined multiple times
  --> $DIR/duplicate-use-bindings.rs:5:9
   |
LL |     pub use self::bar::X;
   |             ------------ previous import of the type `X` here
LL |     use self::bar::X;
   |         ^^^^^^^^^^^^ `X` reimported here
   |
   = note: `X` must be defined only once in the type namespace of this module

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0252`.