This commit is contained in:
Lukas Wirth 2024-05-22 20:45:54 +02:00
parent b75301cec8
commit 3a7dcf91c4
3 changed files with 11 additions and 16 deletions

View file

@ -1001,7 +1001,7 @@ impl HirDisplay for Ty {
ItemInNs::Types((*def_id).into()),
module_id,
PrefixKind::Plain,
true,
false,
ImportPathConfig { prefer_no_std: false, prefer_prelude: true },
) {
write!(f, "{}", path.display(f.db.upcast()))?;