mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
3682a06dcf
Gracefully handle loop labels missing leading `'` in different positions Fix #81192. * Account for labels when suggesting `loop` instead of `while true` * Suggest `'a` when given `a` only when appropriate * Add loop head span to hir * Tweak error for invalid `break expr` * Add more misspelled label tests * Avoid emitting redundant "unused label" lint * Parse loop labels missing a leading `'` Each commit can be reviewed in isolation. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |