diff options
| author | hi-rustin <rustin.liu@gmail.com> | 2021-05-09 12:24:58 +0800 |
|---|---|---|
| committer | hi-rustin <rustin.liu@gmail.com> | 2021-05-09 12:24:58 +0800 |
| commit | fc544abe03f168c5fe26656aaa9bddaf5ac235e3 (patch) | |
| tree | 7632fc7c047c6aef9e867732a5b8753706311ced /compiler/rustc_parse/src/parser/mod.rs | |
| parent | d6d028369be9eb02d219506c0dd662a2f863fc18 (diff) | |
| download | rust-fc544abe03f168c5fe26656aaa9bddaf5ac235e3.tar.gz rust-fc544abe03f168c5fe26656aaa9bddaf5ac235e3.zip | |
Fix typo
Diffstat (limited to 'compiler/rustc_parse/src/parser/mod.rs')
| -rw-r--r-- | compiler/rustc_parse/src/parser/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/mod.rs b/compiler/rustc_parse/src/parser/mod.rs index 74481e236f3..0c0c3d0f475 100644 --- a/compiler/rustc_parse/src/parser/mod.rs +++ b/compiler/rustc_parse/src/parser/mod.rs @@ -1077,7 +1077,7 @@ impl<'a> Parser<'a> { let span = expr.span; match &expr.kind { - // Not gated to supporte things like `doc = $expr` that work on stable. + // Not gated to support things like `doc = $expr` that work on stable. _ if is_interpolated_expr => {} ExprKind::Lit(lit) if lit.kind.is_unsuffixed() => {} _ => self.sess.gated_spans.gate(sym::extended_key_value_attributes, span), |
