Cleanup macro matching recovery
The retry has been implemented already.
This commit is contained in:
parent
62c627c7a3
commit
825b8db34a
2 changed files with 0 additions and 6 deletions
|
@ -495,7 +495,6 @@ fn try_match_macro<'matcher, T: Tracker<'matcher>>(
|
|||
// hacky, but speeds up the `html5ever` benchmark significantly. (Issue
|
||||
// 68836 suggests a more comprehensive but more complex change to deal with
|
||||
// this situation.)
|
||||
// FIXME(Nilstrieb): Stop recovery from happening on this parser and retry later with recovery if the macro failed to match.
|
||||
let parser = parser_from_cx(sess, arg.clone(), T::recovery());
|
||||
// Try each arm's matchers.
|
||||
let mut tt_parser = TtParser::new(name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue