]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0260.stderr
Auto merge of #97925 - the8472:cgroupv1, r=joshtriplett
[rust.git] / src / test / ui / error-codes / E0260.stderr
1 error[E0260]: the name `alloc` is defined multiple times
2   --> $DIR/E0260.rs:3:1
3    |
4 LL | extern crate alloc;
5    | ------------------- previous import of the extern crate `alloc` here
6 LL |
7 LL | mod alloc {
8    | ^^^^^^^^^ `alloc` redefined here
9    |
10    = note: `alloc` must be defined only once in the type namespace of this module
11 help: you can use `as` to change the binding name of the import
12    |
13 LL | extern crate alloc as other_alloc;
14    |
15
16 error: aborting due to previous error
17
18 For more information about this error, try `rustc --explain E0260`.