rust/tests/ui/lint/unused/unused-macro-with-bad-frag-spec.rs

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

10 lines
148 B
Rust
Raw Normal View History

2017-05-12 02:53:58 -05:00
#![allow(unused_macros)]
// Issue #21370
macro_rules! test {
($wrong:t_ty) => () //~ ERROR invalid fragment specifier `t_ty`
}
fn main() { }