fix bad merge conflict resolution
This commit is contained in:
parent
97b7874a3c
commit
53608bece0
1 changed files with 4 additions and 1 deletions
|
@ -26,8 +26,11 @@ pub(crate) fn parse_lazy_static(
|
|||
Err(err) => {
|
||||
err.cancel();
|
||||
parser.psess.dcx().reset_err_count();
|
||||
return None;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
while parser.token.kind != TokenKind::Eof {
|
||||
// Parse a `lazy_static!` item.
|
||||
let vis = parse_or!(parse_visibility, rustc_parse::parser::FollowedByType::No);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue