]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/unused/unused-macro-with-bad-frag-spec.rs
Auto merge of #106503 - cjgillot:remap-nofilter, r=oli-obk
[rust.git] / tests / ui / lint / unused / unused-macro-with-bad-frag-spec.rs
1 #![allow(unused_macros)]
2
3 // Issue #21370
4
5 macro_rules! test {
6     ($wrong:t_ty) => () //~ ERROR invalid fragment specifier `t_ty`
7 }
8
9 fn main() { }