rust/tests/rustdoc/inline_cross/auxiliary/macros.rs

11 lines
248 B
Rust
Raw Normal View History

#![feature(staged_api)]
#![stable(feature = "rust1", since = "1.0.0")]
/// docs for my_macro
#[unstable(feature = "macro_test", issue = "none")]
2022-04-07 20:20:32 -05:00
#[deprecated(since = "1.2.3", note = "text")]
#[macro_export]
macro_rules! my_macro {
2022-04-07 20:20:32 -05:00
() => {};
}