rust/tests/ui/proc-macro/no-macro-use-attr.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
221 B
Rust
Raw Normal View History

// aux-build:test-macros.rs
#![feature(rustc_attrs)]
2018-05-14 00:22:52 +00:00
#![warn(unused_extern_crates)]
extern crate test_macros;
2018-05-14 00:22:52 +00:00
//~^ WARN unused extern crate
#[rustc_error]
fn main() {} //~ ERROR fatal error triggered by #[rustc_error]