]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/issue-43106-gating-of-macro_escape.rs
Rollup merge of #94449 - GuillaumeGomez:explanation-e0726, r=Urgau
[rust.git] / src / test / ui / feature-gates / issue-43106-gating-of-macro_escape.rs
1 // Testing that crate-level `#![macro_escape]` is not gated beyond a
2 // depecation warning.  This file sits on its own, because crate-level
3 // `#![macro_escape]` is incompatible with crate-level `#![macro_use]`
4 // already present in issue-43106-gating-of-builtin-attrs.
5
6 // check-pass
7
8 #![macro_escape]
9 //~^ WARN `#[macro_escape]` is a deprecated synonym for `#[macro_use]`
10
11 fn main() {}