diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-08-25 08:50:54 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-25 08:50:54 +0900 |
| commit | f4550a6edfcbb1e284d9eb1d095f034848e1ee01 (patch) | |
| tree | 2715fec50cb3de2653095945c74926093171573b /compiler/rustc_parse/src | |
| parent | addacb5878b9970ebc1665768a05cb601e7aea15 (diff) | |
| parent | 31e39446ec2f251efbcaf9eb22c80e93021f9bbc (diff) | |
| download | rust-f4550a6edfcbb1e284d9eb1d095f034848e1ee01.tar.gz rust-f4550a6edfcbb1e284d9eb1d095f034848e1ee01.zip | |
Rollup merge of #99332 - jyn514:stabilize-label-break-value, r=petrochenkov
Stabilize `#![feature(label_break_value)]` See the stabilization report in https://github.com/rust-lang/rust/issues/48594#issuecomment-1186213313.
Diffstat (limited to 'compiler/rustc_parse/src')
| -rw-r--r-- | compiler/rustc_parse/src/parser/expr.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_parse/src/parser/expr.rs b/compiler/rustc_parse/src/parser/expr.rs index 17117cbc8fb..18aa109d7a6 100644 --- a/compiler/rustc_parse/src/parser/expr.rs +++ b/compiler/rustc_parse/src/parser/expr.rs @@ -2014,10 +2014,6 @@ impl<'a> Parser<'a> { } } - if let Some(label) = opt_label { - self.sess.gated_spans.gate(sym::label_break_value, label.ident.span); - } - if self.token.is_whole_block() { self.sess.emit_err(InvalidBlockMacroSegment { span: self.token.span, |
