unnecessary_wraps misses 'return' #6384
Labels
C-bug
Category: Clippy is not doing the correct thing
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
I tried this code:
I expected to see this happen: no warning
Instead, this happened:
unnecessary_wraps
missesreturn None
and emit warning.Meta
cargo clippy -V
: clippy 0.0.212 (1c389ff 2020-11-24)rustc -Vv
:Mentioning @matsujika who implemented this lint in #6070.
The text was updated successfully, but these errors were encountered: