mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
fix: Fix general find-path inconsistencies
This commit is contained in:
parent
21ec8f5238
commit
c88b421853
32 changed files with 242 additions and 193 deletions
|
@ -13,7 +13,7 @@ use either::Either;
|
|||
use hir_def::{
|
||||
data::adt::VariantData,
|
||||
db::DefDatabase,
|
||||
find_path,
|
||||
find_path::{self, PrefixKind},
|
||||
generics::{TypeOrConstParamData, TypeParamProvenance},
|
||||
item_scope::ItemInNs,
|
||||
lang_item::{LangItem, LangItemTarget},
|
||||
|
@ -999,6 +999,8 @@ impl HirDisplay for Ty {
|
|||
db.upcast(),
|
||||
ItemInNs::Types((*def_id).into()),
|
||||
module_id,
|
||||
PrefixKind::Plain,
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue