]> git.lizzy.rs Git - rust.git/blob - src/test/ui/no-std-inject.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / no-std-inject.stderr
1 error[E0259]: the name `core` is defined multiple times
2   --> $DIR/no-std-inject.rs:14:1
3    |
4 LL | extern crate core; //~ ERROR: the name `core` is defined multiple times
5    | ^^^^^^^^^^^^^^^^^^ `core` reimported here
6    |
7    = note: `core` must be defined only once in the type namespace of this module
8 help: You can use `as` to change the binding name of the import
9    |
10 LL | extern crate core as other_core; //~ ERROR: the name `core` is defined multiple times
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0259`.