mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
7a0a2d2d23
Suggest unwrap/expect for let binding type mismatch Found it when investigating https://github.com/rust-lang/rust/issues/116738 I'm not sure whether it's a good style to suggest `unwrap`, seems it's may helpful for newcomers. #116738 needs another fix to improve it.