mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Add config for preferring / ignoring prelude modules in find_path
This commit is contained in:
parent
801a887954
commit
ba61766217
36 changed files with 260 additions and 54 deletions
|
@ -945,6 +945,7 @@ impl HirDisplay for Ty {
|
|||
ItemInNs::Types((*def_id).into()),
|
||||
module_id,
|
||||
false,
|
||||
true,
|
||||
) {
|
||||
write!(f, "{}", path.display(f.db.upcast()))?;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue