mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
24aa348586
Closes #106421
This was already fixed by
f5d43a052b
, but now the test cases are
added.
10 lines
165 B
Rust
10 lines
165 B
Rust
//@ compile-flags: -Zforce-unstable-if-unmarked
|
|
#![crate_name="foo"]
|
|
pub struct FatalError;
|
|
|
|
impl FatalError {
|
|
pub fn raise(self) -> ! {
|
|
loop {}
|
|
}
|
|
}
|