mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
parse_stmt_mac: add a comment
This commit is contained in:
@@ -180,6 +180,7 @@ fn parse_stmt_mac(
|
||||
self.warn_missing_semicolon();
|
||||
StmtKind::Mac(P((mac, style, attrs)))
|
||||
} else {
|
||||
// Since none of the above applied, this is an expression statement macro.
|
||||
let e = self.mk_expr(lo.to(hi), ExprKind::Mac(mac), ThinVec::new());
|
||||
let e = self.maybe_recover_from_bad_qpath(e, true)?;
|
||||
let e = self.parse_dot_or_call_expr_with(e, lo, attrs)?;
|
||||
|
||||
Reference in New Issue
Block a user