mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
fb82de5ed8
- Make the diagnostic message actually desribe the problem - Always give the suggestion, by using `snippet_with_context` - Make the suggestion verbose, because we sometimes lint multiline exprs like `match`es changelog: [`manual_option_as_slice`]: improve diagnostics