]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unused/unused-macro-with-bad-frag-spec.rs
Auto merge of #87284 - Aaron1011:remove-paren-special, r=petrochenkov
[rust.git] / src / test / ui / 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() { }