rust/tests/ui/lint/unused/unused-macro-with-bad-frag-spec.rs
2023-01-11 09:32:08 +00:00

10 lines
148 B
Rust

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