about summary refs log tree commit diff
path: root/tests/rustdoc-ui/issues/duplicate-panic-impl-107918.rs
blob: ec35b52e33b0db1c2943370b3423861ca5479e63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ aux-build:panic-handler.rs
//@ compile-flags: --document-private-items
//@ build-pass
//@ only-linux
// https://github.com/rust-lang/rust/issues/107918

#![no_std]
#![no_main]

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