rust/tests/ui/lint/unused/unused-macro-with-follow-violation.rs

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

8 lines
128 B
Rust
Raw Normal View History

2017-05-12 02:53:58 -05:00
#![allow(unused_macros)]
macro_rules! test {
($e:expr +) => () //~ ERROR not allowed for `expr` fragments
}
fn main() { }