mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00
10 lines
192 B
Rust
10 lines
192 B
Rust
#![deny(unused)]
|
|
|
|
#[crate_name = concat !()]
|
|
//~^ ERROR crate-level attribute should be an inner attribute
|
|
macro_rules! a {
|
|
//~^ ERROR unused macro definition
|
|
() => {};
|
|
}
|
|
fn main() {}
|