rust/tests/rustdoc-ui/issues/duplicate-panic-impl-107918.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
256 B
Rust
Raw Normal View History

2023-02-24 18:15:56 +01:00
//@ aux-build:panic-handler.rs
//@ compile-flags: --document-private-items
//@ build-pass
//@ only-linux
2024-12-08 21:39:48 -07:00
// https://github.com/rust-lang/rust/issues/107918
2023-02-24 18:15:56 +01:00
#![no_std]
#![no_main]
#[panic_handler]
fn panic(_: &core::panic::PanicInfo) -> ! {
loop {}
}