Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
panic-handler
/
panic-handler-requires-panic-info.rs
blob: f13c12fc52e4ede5e22bf1135c4b061dae269a9c [
file
] [
log
] [
blame
]
// compile-flags:-C panic=abort
// error-pattern: language item required, but not found: `panic_info`
#![
feature
(
lang_items
)]
#![
feature
(
no_core
)]
#![
no_core
]
#![
no_main
]
#[
panic_handler
]
fn
panic
()
->
!
{
loop
{}
}
#[
lang
=
"sized"
]
trait
Sized
{}