From fb885759e00987f4dbc9fa77edce3bfb963264aa Mon Sep 17 00:00:00 2001 From: Aryan Dubey Date: Tue, 17 Mar 2026 18:24:54 -0400 Subject: [PATCH] Added test description and a link to github page for the relevant issue to the test --- tests/ui/macros/macro-in-or-pattern.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/ui/macros/macro-in-or-pattern.rs b/tests/ui/macros/macro-in-or-pattern.rs index 131139470f9f..c1dcd6efeaa4 100644 --- a/tests/ui/macros/macro-in-or-pattern.rs +++ b/tests/ui/macros/macro-in-or-pattern.rs @@ -1,3 +1,6 @@ +// Regression test for https://github.com/rust-lang/rust/issues/23891 +// Tests that a macro expanding to a pattern works correctly inside of or patterns + //@ run-pass macro_rules! id { ($s: pat) => ($s);