fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
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 6LL | use issue_52891::a; 7 | ^^^^^^^^^^^^^^ `a` reimported here 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... 17LL | use issue_52891::{a, b, c}; 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... 31LL | use issue_52891::{d, a, e}; 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... 45LL | use issue_52891::{f, g, a}; 46 | ^ `a` reimported here 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... 56LL | use issue_52891::{a, 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... 70LL | a, 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 | 81LL | use issue_52891::a; 82 | -------------- previous import of the module `a` here 83... 84LL | a}; 85 | ^ `a` reimported here 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 94LL | use issue_52891::b::inner; 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 | 100LL | use issue_52891::b::inner as other_inner; 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; 121 | -------------- previous import of the module `n` here 122LL | #[macro_use] 123LL | use issue_52891::n; 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 130Some errors have detailed explanations: E0252, E0254. 131For more information about an error, try `rustc --explain E0252`.