about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--compiler/rustc_expand/src/mbe/macro_parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_expand/src/mbe/macro_parser.rs b/compiler/rustc_expand/src/mbe/macro_parser.rs
index 7b5835fce54..98b63e4b525 100644
--- a/compiler/rustc_expand/src/mbe/macro_parser.rs
+++ b/compiler/rustc_expand/src/mbe/macro_parser.rs
@@ -779,7 +779,7 @@ impl TtParser {
 
                 (_, _) => {
                     // Too many possibilities!
-                    return self.bb_items_ambiguity_error(
+                    return self.ambiguity_error(
                         macro_name,
                         next_items,
                         bb_items,
@@ -792,7 +792,7 @@ impl TtParser {
         }
     }
 
-    fn bb_items_ambiguity_error<'root, 'tt>(
+    fn ambiguity_error<'root, 'tt>(
         &self,
         macro_name: Ident,
         next_items: SmallVec<[MatcherPosHandle<'root, 'tt>; 1]>,