diff options
Diffstat (limited to 'tests/ui/macros/issue-21356.rs')
-rw-r--r-- | tests/ui/macros/issue-21356.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/macros/issue-21356.rs b/tests/ui/macros/issue-21356.rs new file mode 100644 index 000000000..ae623929d --- /dev/null +++ b/tests/ui/macros/issue-21356.rs @@ -0,0 +1,6 @@ +#![allow(unused_macros)] + +macro_rules! test { ($wrong:t_ty ..) => () } + //~^ ERROR: invalid fragment specifier `t_ty` + +fn main() {} |