mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
fix bad merge conflict resolution
This commit is contained in:
parent
97b7874a3c
commit
53608bece0
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user