diff options
author | robojumper <[email protected]> | 2020-05-31 09:59:40 +0100 |
---|---|---|
committer | robojumper <[email protected]> | 2020-05-31 10:40:18 +0100 |
commit | 1cd78a3355ea70d3070cabb00c80a5d195499752 (patch) | |
tree | 91b2b70dbf3ac73a2fe430fd92a26d41df2a60cb /xtask | |
parent | fb469c3b31e7da962e91269b53b2f53d672cc4ba (diff) |
correctly infer labelled breaks
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/ast_src.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index d4621930e..f60f0fb16 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -1058,7 +1058,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
1058 | /// [Reference](https://doc.rust-lang.org/reference/expressions/block-expr.html) | 1058 | /// [Reference](https://doc.rust-lang.org/reference/expressions/block-expr.html) |
1059 | /// [Labels for blocks RFC](https://github.com/rust-lang/rfcs/blob/master/text/2046-label-break-value.md) | 1059 | /// [Labels for blocks RFC](https://github.com/rust-lang/rfcs/blob/master/text/2046-label-break-value.md) |
1060 | struct BlockExpr: AttrsOwner, ModuleItemOwner { | 1060 | struct BlockExpr: AttrsOwner, ModuleItemOwner { |
1061 | T!['{'], statements: [Stmt], Expr, T!['}'], | 1061 | Label, T!['{'], statements: [Stmt], Expr, T!['}'], |
1062 | } | 1062 | } |
1063 | 1063 | ||
1064 | /// Return expression. | 1064 | /// Return expression. |