rust/tests/ui/feature-gates/issue-43106-gating-of-macro_escape.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
388 B
Rust
Raw Normal View History

// 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]
2020-01-10 08:57:36 -06:00
//~^ WARN `#[macro_escape]` is a deprecated synonym for `#[macro_use]`
fn main() {}