rust/tests/ui/imports/unused-macro-use.rs

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

12 lines
198 B
Rust
Raw Normal View History

2017-01-14 02:58:50 -06:00
#![deny(unused)]
#[macro_use] //~ ERROR unused `#[macro_use]` import
extern crate core;
#[macro_use(
panic //~ ERROR unused `#[macro_use]` import
)]
extern crate core as core_2;
fn main() {}