Rename bb_items_ambiguity_error
as ambiguity_error
.
Because it involves `next_items` as well as `bb_items`.
This commit is contained in:
parent
d21b4f30c1
commit
354bd1071c
1 changed files with 2 additions and 2 deletions
|
@ -779,7 +779,7 @@ impl TtParser {
|
||||||
|
|
||||||
(_, _) => {
|
(_, _) => {
|
||||||
// Too many possibilities!
|
// Too many possibilities!
|
||||||
return self.bb_items_ambiguity_error(
|
return self.ambiguity_error(
|
||||||
macro_name,
|
macro_name,
|
||||||
next_items,
|
next_items,
|
||||||
bb_items,
|
bb_items,
|
||||||
|
@ -792,7 +792,7 @@ impl TtParser {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn bb_items_ambiguity_error<'root, 'tt>(
|
fn ambiguity_error<'root, 'tt>(
|
||||||
&self,
|
&self,
|
||||||
macro_name: Ident,
|
macro_name: Ident,
|
||||||
next_items: SmallVec<[MatcherPosHandle<'root, 'tt>; 1]>,
|
next_items: SmallVec<[MatcherPosHandle<'root, 'tt>; 1]>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue