rust/tests/ui/parser/macro/macro-doc-comments-2.rs

10 lines
135 B
Rust

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