non_exhaustive_omitted_patterns
is missing span
#109837
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
F-non_exhaustive_omitted_patterns_lint
`#![feature(non_exhaustive_omitted_patterns_lint)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Currently, I get the following error message:
This error message is correct, but not helpful, and confused the person writing the pull request who hit this issue. It does not show what the variants are or where the match is. I would file a repro but I'm fairly sure non_exhaustive is ignored in the same crate, so it would not be doable on playground.
Originally posted by @Kampfkarren in #89554 (comment)
The text was updated successfully, but these errors were encountered: