rust/tests/rustdoc/auxiliary/issue-106421-force-unstable.rs

10 lines
165 B
Rust
Raw Normal View History

//@ compile-flags: -Zforce-unstable-if-unmarked
#![crate_name="foo"]
pub struct FatalError;
impl FatalError {
pub fn raise(self) -> ! {
loop {}
}
}