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 {}
|
|
}
|
|
}
|