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

10 lines
148 B
Rust

#![allow(unused_macros)]
// Issue #21370
macro_rules! test {
($wrong:t_ty) => () //~ ERROR invalid fragment specifier `t_ty`
}
fn main() { }