Sign in
fuchsia
/
third_party
/
rust
/
4360fd7f342943b3d25a3eb7064fd3ef7599274e
/
.
/
tests
/
ui
/
issues
/
issue-64430.rs
blob: bc98dbf8520f08061834596f04b908345d13d9a2 [
file
] [
log
] [
blame
]
//@ compile-flags:-C panic=abort
#![
no_std
]
pub
struct
Foo
;
fn
main
()
{
Foo
.
bar
()
//~^ ERROR E0599
}
#[
panic_handler
]
fn
panic
(
_info
:
&
core
::
panic
::
PanicInfo
)
->
!
{
loop
{}
}