]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-52891.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / issues / issue-52891.stderr
CommitLineData
9fa01778
XL
1error[E0252]: the name `a` is defined multiple times
2 --> $DIR/issue-52891.rs:12:5
3 |
4LL | use issue_52891::a;
5 | -------------- previous import of the module `a` here
532ac7d7
XL
6LL | use issue_52891::a;
7 | ^^^^^^^^^^^^^^ `a` reimported here
9fa01778
XL
8 |
9 = note: `a` must be defined only once in the type namespace of this module
10
11error[E0252]: the name `a` is defined multiple times
12 --> $DIR/issue-52891.rs:14:19
13 |
14LL | use issue_52891::a;
15 | -------------- previous import of the module `a` here
16...
532ac7d7 17LL | use issue_52891::{a, b, c};
9fa01778
XL
18 | ^--
19 | |
20 | `a` reimported here
21 | help: remove unnecessary import
22 |
23 = note: `a` must be defined only once in the type namespace of this module
24
25error[E0252]: the name `a` is defined multiple times
26 --> $DIR/issue-52891.rs:15:22
27 |
28LL | use issue_52891::a;
29 | -------------- previous import of the module `a` here
30...
532ac7d7 31LL | use issue_52891::{d, a, e};
9fa01778
XL
32 | ^--
33 | |
34 | `a` reimported here
35 | help: remove unnecessary import
36 |
37 = note: `a` must be defined only once in the type namespace of this module
38
39error[E0252]: the name `a` is defined multiple times
40 --> $DIR/issue-52891.rs:16:25
41 |
42LL | use issue_52891::a;
43 | -------------- previous import of the module `a` here
44...
532ac7d7
XL
45LL | use issue_52891::{f, g, a};
46 | ^ `a` reimported here
9fa01778
XL
47 |
48 = note: `a` must be defined only once in the type namespace of this module
49
50error[E0252]: the name `a` is defined multiple times
51 --> $DIR/issue-52891.rs:18:19
52 |
53LL | use issue_52891::a;
54 | -------------- previous import of the module `a` here
55...
532ac7d7 56LL | use issue_52891::{a,
9fa01778
XL
57 | ^--
58 | |
59 | `a` reimported here
60 | help: remove unnecessary import
61 |
62 = note: `a` must be defined only once in the type namespace of this module
63
64error[E0252]: the name `a` is defined multiple times
65 --> $DIR/issue-52891.rs:22:5
66 |
67LL | use issue_52891::a;
68 | -------------- previous import of the module `a` here
69...
532ac7d7 70LL | a,
9fa01778
XL
71 | ^--
72 | |
73 | `a` reimported here
74 | help: remove unnecessary import
75 |
76 = note: `a` must be defined only once in the type namespace of this module
77
78error[E0252]: the name `a` is defined multiple times
79 --> $DIR/issue-52891.rs:26:5
80 |
532ac7d7
XL
81LL | use issue_52891::a;
82 | -------------- previous import of the module `a` here
9fa01778 83...
532ac7d7
XL
84LL | a};
85 | ^ `a` reimported here
9fa01778
XL
86 |
87 = note: `a` must be defined only once in the type namespace of this module
88
89error[E0252]: the name `inner` is defined multiple times
90 --> $DIR/issue-52891.rs:29:5
91 |
92LL | use issue_52891::a::inner;
93 | --------------------- previous import of the module `inner` here
532ac7d7 94LL | use issue_52891::b::inner;
9fa01778
XL
95 | ^^^^^^^^^^^^^^^^^^^^^ `inner` reimported here
96 |
97 = note: `inner` must be defined only once in the type namespace of this module
98help: you can use `as` to change the binding name of the import
99 |
532ac7d7 100LL | use issue_52891::b::inner as other_inner;
9fa01778
XL
101 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
102
103error[E0254]: the name `issue_52891` is defined multiple times
104 --> $DIR/issue-52891.rs:31:19
105 |
106LL | extern crate issue_52891;
107 | ------------------------- previous import of the extern crate `issue_52891` here
108...
109LL | use issue_52891::{self};
110 | ------------------^^^^--
111 | | |
112 | | `issue_52891` reimported here
113 | help: remove unnecessary import
114 |
115 = note: `issue_52891` must be defined only once in the type namespace of this module
116
117error[E0252]: the name `n` is defined multiple times
118 --> $DIR/issue-52891.rs:36:5
119 |
120LL | use issue_52891::n;
532ac7d7 121 | -------------- previous import of the module `n` here
9fa01778 122LL | #[macro_use]
532ac7d7 123LL | use issue_52891::n;
9fa01778
XL
124 | ^^^^^^^^^^^^^^ `n` reimported here
125 |
126 = note: `n` must be defined only once in the type namespace of this module
127
128error: aborting due to 10 previous errors
129
48663c56 130Some errors have detailed explanations: E0252, E0254.
9fa01778 131For more information about an error, try `rustc --explain E0252`.