summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/issue-107918.rs
blob: 13788df0fc99697e5796e3474fb734b8be34a709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// aux-build:panic-handler.rs
// compile-flags: --document-private-items
// build-pass
// ignore-windows

#![no_std]
#![no_main]

#[panic_handler]
fn panic(_: &core::panic::PanicInfo) -> ! {
    loop {}
}