rust/compiler/rustc_mir_build
Michael Goulet 4d32de6fcb
Rollup merge of #109838 - clubby789:non-exhaustive-span, r=Nilstrieb
Fix `non_exhaustive_omitted_patterns` lint span

Fixes #109837

`DUMMY_SP` was being passed as the span in many cases where we have a span available to use. This meant that the location of the violating pattern wasn't shown, or the list of un-covered variants

r? `@Nilstrieb`
2023-04-04 09:27:44 -07:00
..
src Rollup merge of #109838 - clubby789:non-exhaustive-span, r=Nilstrieb 2023-04-04 09:27:44 -07:00
Cargo.toml
messages.ftl Add notes to non-structural const in pattern error message 2023-03-27 11:08:11 -04:00