rust/tests/ui/parser/macro/macro-doc-comments-1.rs
2023-01-11 09:32:08 +00:00

10 lines
134 B
Rust

macro_rules! outer {
(#[$outer:meta]) => ()
}
outer! {
//! Inner
} //~^ ERROR no rules expected the token `!`
fn main() { }