about summary refs log tree commit diff
path: root/tests/ui/macros/macro-span-issue-116502.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/macros/macro-span-issue-116502.rs')
-rw-r--r--tests/ui/macros/macro-span-issue-116502.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/macros/macro-span-issue-116502.rs b/tests/ui/macros/macro-span-issue-116502.rs
index 4c254289ee6..b5ae383efca 100644
--- a/tests/ui/macros/macro-span-issue-116502.rs
+++ b/tests/ui/macros/macro-span-issue-116502.rs
@@ -5,6 +5,8 @@ fn bug() {
     macro_rules! m {
         () => {
             _ //~ ERROR the placeholder `_` is not allowed within types on item signatures for structs
+            //~^ ERROR the placeholder `_` is not allowed within types on item signatures for structs
+            //~| ERROR the placeholder `_` is not allowed within types on item signatures for structs
         };
     }
     struct S<T = m!()>(m!(), T)