False positive on non_exhaustive_omitted_patterns_lint
with closures
#99815
Labels
C-bug
Category: This is a bug.
F-non_exhaustive_omitted_patterns_lint
`#![feature(non_exhaustive_omitted_patterns_lint)]`
I tried this code (playground):
I expected to see this happen: no warnings.
Instead, this happened:
Meta
cc #89554
The text was updated successfully, but these errors were encountered: