mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
deb48aa0f5
Postfix match fixes
1. Don't ice on `expr as Ty.match {}`
2. Fix the suggestion span for non-exhaustive matches to add `_ => todo!(),`
Fixes #123383