mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-29 16:13:40 +00:00
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
@ -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]>,
|
||||
|
Loading…
Reference in New Issue
Block a user