]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-64430.rs
Rollup merge of #107124 - DebugSteven:check-macro-expansion, r=albertlarsan68
[rust.git] / tests / ui / issues / issue-64430.rs
1 // compile-flags:-C panic=abort
2
3 #![no_std]
4 pub struct Foo;
5
6 fn main() {
7     Foo.bar()
8     //~^ ERROR E0599
9 }
10
11 #[panic_handler]
12 fn panic(_info: &core::panic::PanicInfo) -> ! {
13     loop{}
14 }