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 2ddea30 commit 74d9c4bCopy full SHA for 74d9c4b
src/librustc_parse/parser/stmt.rs
@@ -180,6 +180,7 @@ impl<'a> Parser<'a> {
180
self.warn_missing_semicolon();
181
StmtKind::Mac(P((mac, style, attrs)))
182
} else {
183
+ // Since none of the above applied, this is an expression statement macro.
184
let e = self.mk_expr(lo.to(hi), ExprKind::Mac(mac), ThinVec::new());
185
let e = self.maybe_recover_from_bad_qpath(e, true)?;
186
let e = self.parse_dot_or_call_expr_with(e, lo, attrs)?;
0 commit comments