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

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

10 lines
135 B
Rust
Raw Normal View History

2015-07-15 13:57:47 -05:00
macro_rules! inner {
(#![$inner:meta]) => ()
}
inner! {
/// Outer
} //~^ ERROR no rules expected the token `[`
fn main() { }