Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-64430.rs
blob: bc98dbf8520f08061834596f04b908345d13d9a2 [
file
] [
log
] [
blame
] [
edit
]
//@ 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
{}
}