You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Xaeroxe
changed the title
option_as_ref_deref no longer catches direct calls to Deref::deref or DerefMut::deref_mut
option_as_ref_deref doesn't catch fully qualified direct calls to Deref::deref or DerefMut::deref_mut
Aug 19, 2020
I tried this code:
I expected to see this happen: Lint option_ref_as_deref is triggered and I get redirected to
.as_deref()
Instead, this happened: No lint was triggered
Playground for convenience: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=7e8a3b2ac13f0d98a9f79a095b2fd8f2
Meta
cargo clippy -V
: clippy 0.0.212 (d3fb005 2020-07-31)rustc -Vv
:Backtrace: N/A, this bug is something not happening when it was expected.
The text was updated successfully, but these errors were encountered: