Import/qualify trait Deref
suggesting lazy_static::__Deref
instead of std::ops::Deref
#9197
Closed
Labels
A-assists
A-completion
autocompletion
S-unactionable
Issue requires feedback, design decisions or is blocked on other work
The code action to import/qualify a trait suggests
lazy_static::__Deref
instead ofstd::ops::Deref
for just the nameDeref
.To reproduce:
Cargo.toml
(Not sure if this happens on other versions)impl Deref for Foo
.Deref
in theimpl Deref for Foo
block.lazy_static::__Deref
is suggested instead ofstd::ops::Deref
.Information:
IDE: VSCode
Plugin: matklad.rust-analyzer v0.2.621
rust-analyzer version: rust-analyzer 28e32fe 2021-05-31 stable
Rust: 1.52.1
The text was updated successfully, but these errors were encountered: