We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97b7874 commit 53608beCopy full SHA for 53608be
src/tools/rustfmt/src/parse/macros/lazy_static.rs
@@ -26,8 +26,11 @@ pub(crate) fn parse_lazy_static(
26
Err(err) => {
27
err.cancel();
28
parser.psess.dcx().reset_err_count();
29
+ return None;
30
}
-
31
+ }
32
33
34
while parser.token.kind != TokenKind::Eof {
35
// Parse a `lazy_static!` item.
36
let vis = parse_or!(parse_visibility, rustc_parse::parser::FollowedByType::No);
0 commit comments