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.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user