about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustc_parse/parser/stmt.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_parse/parser/stmt.rs b/src/librustc_parse/parser/stmt.rs
index 6f27fdc1a25..3d2773cdc30 100644
--- a/src/librustc_parse/parser/stmt.rs
+++ b/src/librustc_parse/parser/stmt.rs
@@ -180,6 +180,7 @@ impl<'a> Parser<'a> {
             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)?;