This commit is contained in:
Shohei Wada 2024-07-02 01:52:34 +09:00
parent 1b283db47f
commit 3725ab3146
43 changed files with 233 additions and 11 deletions

View file

@ -1043,7 +1043,11 @@ impl HirDisplay for Ty {
module_id,
PrefixKind::Plain,
false,
ImportPathConfig { prefer_no_std: false, prefer_prelude: true },
ImportPathConfig {
prefer_no_std: false,
prefer_prelude: true,
prefer_absolute: false,
},
) {
write!(f, "{}", path.display(f.db.upcast()))?;
} else {