mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-27 18:56:24 +00:00
14 lines
392 B
Rust
14 lines
392 B
Rust
//@ aux-build:weak-lang-items.rs
|
|
//@ needs-unwind since it affects the error output
|
|
//@ ignore-emscripten missing eh_catch_typeinfo lang item
|
|
|
|
#![no_std]
|
|
|
|
extern crate core; //~ ERROR the name `core` is defined multiple times
|
|
extern crate weak_lang_items;
|
|
|
|
fn main() {}
|
|
|
|
//~? ERROR `#[panic_handler]` function required, but not found
|
|
//~? ERROR unwinding panics are not supported without std
|