rust/tests/ui/rustc-error.rs

7 lines
110 B
Rust

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