]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #106783 - WaffleLapkin:break-my-ident, r=wesleywiser
authorMatthias Krüger <matthias.krueger@famsik.de>
Fri, 20 Jan 2023 06:16:08 +0000 (07:16 +0100)
committerGitHub <noreply@github.com>
Fri, 20 Jan 2023 06:16:08 +0000 (07:16 +0100)
Recover labels written as identifiers

This adds recovery for `break label expr` and `continue label`, as well as a test for `break label`.

1  2 
compiler/rustc_parse/src/parser/expr.rs