]> git.lizzy.rs Git - rust.git/blob - src/test/ui/double-type-import.stderr
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / test / 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`.