rust/tests/ui/imports/unused-macro-use.rs
2023-01-11 09:32:08 +00:00

12 lines
198 B
Rust

#![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() {}