fix bad merge conflict resolution

This commit is contained in:
Caleb Cartwright 2024-06-22 16:21:14 -05:00
parent 97b7874a3c
commit 53608bece0

View File

@ -26,8 +26,11 @@ pub(crate) fn parse_lazy_static(
Err(err) => { Err(err) => {
err.cancel(); err.cancel();
parser.psess.dcx().reset_err_count(); parser.psess.dcx().reset_err_count();
return None;
} }
}
}
}
while parser.token.kind != TokenKind::Eof { while parser.token.kind != TokenKind::Eof {
// Parse a `lazy_static!` item. // Parse a `lazy_static!` item.
let vis = parse_or!(parse_visibility, rustc_parse::parser::FollowedByType::No); let vis = parse_or!(parse_visibility, rustc_parse::parser::FollowedByType::No);