Closed dtolnay closed 1 month ago
Previously, it was possible for ExprBreak's ToTokens impl to produce break 'inner: loop { break 'inner 1 } + 1 which is not valid Rust syntax.
break 'inner: loop { break 'inner 1 } + 1
Same bug in rustc: https://github.com/rust-lang/rust/pull/126883
Previously, it was possible for ExprBreak's ToTokens impl to produce
break 'inner: loop { break 'inner 1 } + 1
which is not valid Rust syntax.Same bug in rustc: https://github.com/rust-lang/rust/pull/126883