suggesting for traits do not search the "prelude crates" #54618
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-edition-2018-lints
Area: Lints supporting the 2018 edition
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
As shown in this test case, if you have a crate in the prelude, but you have not imports its trait, and you try to use its methods, you don't get any nice suggestions. This is a shame!
cc @davidtwco
The text was updated successfully, but these errors were encountered: