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:
Yuki Okushi 2022-08-25 08:50:54 +09:00 committed by GitHub
commit f4550a6edf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 61 additions and 108 deletions

View file

@ -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,