rust/tests/ui/rustc-error.rs
2023-01-11 09:32:08 +00:00

7 lines
110 B
Rust

#![feature(rustc_attrs)]
#[rustc_error]
fn main() {
//~^ ERROR fatal error triggered by #[rustc_error]
}