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
one might want to un-qualify std::error::Error::source. However, using the "unqualify method call" assist adds an import of std::error::Error, which is not necessary because methods from traits are always in scope within an impl for that trait, and in this case even results in an error because the name Error is already defined in the module.
rust-analyzer version: 0.4.2483-standalone rustc version: 1.89.0-nightly (414482f6a 2025-05-13) editor or extension: VSCode 0.4.2483 (pre-release, from OpenVSX)
Given something like
one might want to un-qualify
std::error::Error::source
. However, using the "unqualify method call" assist adds an import ofstd::error::Error
, which is not necessary because methods from traits are always in scope within an impl for that trait, and in this case even results in an error because the nameError
is already defined in the module.rust-analyzer version: 0.4.2483-standalone
rustc version: 1.89.0-nightly (414482f6a 2025-05-13)
editor or extension: VSCode 0.4.2483 (pre-release, from OpenVSX)
@rustbot label +A-assists
The text was updated successfully, but these errors were encountered: