rust/tests/ui/deprecation/deprecated-macro_escape.rs

7 lines
128 B
Rust

//@ run-pass
#[macro_escape] //~ WARNING `#[macro_escape]` is a deprecated synonym for `#[macro_use]`
mod foo {}
fn main() {}