1 error[E0252]: the name `a` is defined multiple times
2 --> $DIR/issue-52891.rs:12:5
4 LL | use issue_52891::a;
5 | -------------- previous import of the module `a` here
6 LL | use issue_52891::a;
7 | ^^^^^^^^^^^^^^ `a` reimported here
9 = note: `a` must be defined only once in the type namespace of this module
11 error[E0252]: the name `a` is defined multiple times
12 --> $DIR/issue-52891.rs:14:19
14 LL | use issue_52891::a;
15 | -------------- previous import of the module `a` here
17 LL | use issue_52891::{a, b, c};
21 | help: remove unnecessary import
23 = note: `a` must be defined only once in the type namespace of this module
25 error[E0252]: the name `a` is defined multiple times
26 --> $DIR/issue-52891.rs:15:22
28 LL | use issue_52891::a;
29 | -------------- previous import of the module `a` here
31 LL | use issue_52891::{d, a, e};
35 | help: remove unnecessary import
37 = note: `a` must be defined only once in the type namespace of this module
39 error[E0252]: the name `a` is defined multiple times
40 --> $DIR/issue-52891.rs:16:25
42 LL | use issue_52891::a;
43 | -------------- previous import of the module `a` here
45 LL | use issue_52891::{f, g, a};
46 | ^ `a` reimported here
48 = note: `a` must be defined only once in the type namespace of this module
50 error[E0252]: the name `a` is defined multiple times
51 --> $DIR/issue-52891.rs:18:19
53 LL | use issue_52891::a;
54 | -------------- previous import of the module `a` here
56 LL | use issue_52891::{a,
60 | help: remove unnecessary import
62 = note: `a` must be defined only once in the type namespace of this module
64 error[E0252]: the name `a` is defined multiple times
65 --> $DIR/issue-52891.rs:22:5
67 LL | use issue_52891::a;
68 | -------------- previous import of the module `a` here
74 | help: remove unnecessary import
76 = note: `a` must be defined only once in the type namespace of this module
78 error[E0252]: the name `a` is defined multiple times
79 --> $DIR/issue-52891.rs:26:5
81 LL | use issue_52891::a;
82 | -------------- previous import of the module `a` here
85 | ^ `a` reimported here
87 = note: `a` must be defined only once in the type namespace of this module
89 error[E0252]: the name `inner` is defined multiple times
90 --> $DIR/issue-52891.rs:29:5
92 LL | use issue_52891::a::inner;
93 | --------------------- previous import of the module `inner` here
94 LL | use issue_52891::b::inner;
95 | ^^^^^^^^^^^^^^^^^^^^^ `inner` reimported here
97 = note: `inner` must be defined only once in the type namespace of this module
98 help: you can use `as` to change the binding name of the import
100 LL | use issue_52891::b::inner as other_inner;
101 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
103 error[E0254]: the name `issue_52891` is defined multiple times
104 --> $DIR/issue-52891.rs:31:19
106 LL | extern crate issue_52891;
107 | ------------------------- previous import of the extern crate `issue_52891` here
109 LL | use issue_52891::{self};
110 | ------------------^^^^--
112 | | `issue_52891` reimported here
113 | help: remove unnecessary import
115 = note: `issue_52891` must be defined only once in the type namespace of this module
117 error[E0252]: the name `n` is defined multiple times
118 --> $DIR/issue-52891.rs:36:5
120 LL | use issue_52891::n;
121 | -------------- previous import of the module `n` here
123 LL | use issue_52891::n;
124 | ^^^^^^^^^^^^^^ `n` reimported here
126 = note: `n` must be defined only once in the type namespace of this module
128 error: aborting due to 10 previous errors
130 Some errors have detailed explanations: E0252, E0254.
131 For more information about an error, try `rustc --explain E0252`.