[breaking-change] don't glob export ast::KleeneOp variants
This commit is contained in:
parent
019614f03d
commit
798974cae5
7 changed files with 18 additions and 17 deletions
|
@ -374,7 +374,7 @@ pub fn parse(sess: &ParseSess,
|
|||
match ei.top_elts.get_tt(idx) {
|
||||
/* need to descend into sequence */
|
||||
TokenTree::Sequence(sp, seq) => {
|
||||
if seq.op == ast::ZeroOrMore {
|
||||
if seq.op == ast::KleeneOp::ZeroOrMore {
|
||||
let mut new_ei = ei.clone();
|
||||
new_ei.match_cur += seq.num_captures;
|
||||
new_ei.idx += 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue