mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +00:00
12 lines
389 B
Rust
12 lines
389 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() {}
|