rust/tests/ui/macros/paren-or-brace-expected.rs

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

10 lines
161 B
Rust
Raw Normal View History

macro_rules! foo {
( $( $i:ident ),* ) => {
$[count($i)]
//~^ ERROR expected `(` or `{`, found `[`
//~| ERROR
};
}
fn main() {}