fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
590 B18 linesraw
1error[E0254]: the name `alloc` is defined multiple times
2  --> $DIR/E0254.rs:11:5
3   |
4LL | extern crate alloc;
5   | ------------------- previous import of the extern crate `alloc` here
6...
7LL | use foo::alloc;
8   |     ^^^^^^^^^^ `alloc` reimported here
9   |
10   = note: `alloc` must be defined only once in the type namespace of this module
11help: you can use `as` to change the binding name of the import
12   |
13LL | use foo::alloc as other_alloc;
14   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
15
16error: aborting due to previous error
17
18For more information about this error, try `rustc --explain E0254`.