Skip to content

Commit 354bd10

Browse files
committed
Rename bb_items_ambiguity_error as ambiguity_error.
Because it involves `next_items` as well as `bb_items`.
1 parent d21b4f3 commit 354bd10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_expand/src/mbe/macro_parser.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ impl TtParser {
779779

780780
(_, _) => {
781781
// Too many possibilities!
782-
return self.bb_items_ambiguity_error(
782+
return self.ambiguity_error(
783783
macro_name,
784784
next_items,
785785
bb_items,
@@ -792,7 +792,7 @@ impl TtParser {
792792
}
793793
}
794794

795-
fn bb_items_ambiguity_error<'root, 'tt>(
795+
fn ambiguity_error<'root, 'tt>(
796796
&self,
797797
macro_name: Ident,
798798
next_items: SmallVec<[MatcherPosHandle<'root, 'tt>; 1]>,

0 commit comments

Comments
 (0)