Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-def/src/macro_expansion_tests/mbe/matching.rs')
-rw-r--r--crates/hir-def/src/macro_expansion_tests/mbe/matching.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/hir-def/src/macro_expansion_tests/mbe/matching.rs b/crates/hir-def/src/macro_expansion_tests/mbe/matching.rs
index 26f16542cb..e5cb9b9567 100644
--- a/crates/hir-def/src/macro_expansion_tests/mbe/matching.rs
+++ b/crates/hir-def/src/macro_expansion_tests/mbe/matching.rs
@@ -106,7 +106,6 @@ stringify!(;
#[test]
fn range_patterns() {
- // FIXME: rustc thinks there are three patterns here, not one.
check(
r#"
macro_rules! m {
@@ -118,7 +117,7 @@ m!(.. .. ..);
macro_rules! m {
($($p:pat)*) => (stringify!($($p |)*);)
}
-stringify!(.. .. .. |);
+stringify!(.. | .. | .. |);
"#]],
);
}