]> git.lizzy.rs Git - rust.git/blob - tests/ui/panic-handler/weak-lang-item.stderr
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
[rust.git] / tests / ui / panic-handler / weak-lang-item.stderr
1 error[E0259]: the name `core` is defined multiple times
2   --> $DIR/weak-lang-item.rs:9:1
3    |
4 LL | extern crate core;
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;
11    |
12
13 error: `#[panic_handler]` function required, but not found
14
15 error: language item required, but not found: `eh_personality`
16    |
17    = note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library
18    = help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config`
19
20 error: aborting due to 3 previous errors
21
22 For more information about this error, try `rustc --explain E0259`.