mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Make ImportPrefix a configuration option
This commit is contained in:
parent
67e71619b9
commit
8699331014
6 changed files with 49 additions and 10 deletions
|
@ -391,8 +391,9 @@ impl Module {
|
|||
self,
|
||||
db: &dyn DefDatabase,
|
||||
item: impl Into<ItemInNs>,
|
||||
prefix_kind: PrefixKind,
|
||||
) -> Option<ModPath> {
|
||||
hir_def::find_path::find_path_prefixed(db, item.into(), self.into(), PrefixKind::Plain)
|
||||
hir_def::find_path::find_path_prefixed(db, item.into(), self.into(), prefix_kind)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue