rust/tests/ui/feature-gates/issue-43106-gating-of-macro_escape.rs
2023-01-11 09:32:08 +00:00

12 lines
388 B
Rust

// Testing that crate-level `#![macro_escape]` is not gated beyond a
// depecation warning. This file sits on its own, because crate-level
// `#![macro_escape]` is incompatible with crate-level `#![macro_use]`
// already present in issue-43106-gating-of-builtin-attrs.
// check-pass
#![macro_escape]
//~^ WARN `#[macro_escape]` is a deprecated synonym for `#[macro_use]`
fn main() {}