mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-03 01:16:14 +03:00
Rename bb_items_ambiguity_error as ambiguity_error.
Because it involves `next_items` as well as `bb_items`.
This commit is contained in:
@@ -779,7 +779,7 @@ pub(super) fn parse_tt(
|
||||
|
||||
(_, _) => {
|
||||
// Too many possibilities!
|
||||
return self.bb_items_ambiguity_error(
|
||||
return self.ambiguity_error(
|
||||
macro_name,
|
||||
next_items,
|
||||
bb_items,
|
||||
@@ -792,7 +792,7 @@ pub(super) fn parse_tt(
|
||||
}
|
||||
}
|
||||
|
||||
fn bb_items_ambiguity_error<'root, 'tt>(
|
||||
fn ambiguity_error<'root, 'tt>(
|
||||
&self,
|
||||
macro_name: Ident,
|
||||
next_items: SmallVec<[MatcherPosHandle<'root, 'tt>; 1]>,
|
||||
|
||||
Reference in New Issue
Block a user