@@ -297,9 +297,6 @@ declare_features! (
297
297
298
298
( active, use_extern_macros, "1.15.0" , Some ( 35896 ) ) ,
299
299
300
- // Allows `break {expr}` with a value inside `loop`s.
301
- ( active, loop_break_value, "1.14.0" , Some ( 37339 ) ) ,
302
-
303
300
// Allows #[target_feature(...)]
304
301
( active, target_feature, "1.15.0" , None ) ,
305
302
@@ -423,6 +420,8 @@ declare_features! (
423
420
( accepted, pub_restricted, "1.18.0" , Some ( 32409 ) ) ,
424
421
// The #![windows_subsystem] attribute
425
422
( accepted, windows_subsystem, "1.18.0" , Some ( 37499 ) ) ,
423
+ // Allows `break {expr}` with a value inside `loop`s.
424
+ ( accepted, loop_break_value, "1.19.0" , Some ( 37339 ) ) ,
426
425
) ;
427
426
// If you change this, please modify src/doc/unstable-book as well. You must
428
427
// move that documentation into the relevant place in the other docs, and
@@ -1301,10 +1300,6 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
1301
1300
}
1302
1301
}
1303
1302
}
1304
- ast:: ExprKind :: Break ( _, Some ( _) ) => {
1305
- gate_feature_post ! ( & self , loop_break_value, e. span,
1306
- "`break` with a value is experimental" ) ;
1307
- }
1308
1303
ast:: ExprKind :: Lit ( ref lit) => {
1309
1304
if let ast:: LitKind :: Int ( _, ref ty) = lit. node {
1310
1305
match * ty {
0 commit comments