mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Rename TyKind::ForeignType to Foreign
This commit is contained in:
parent
65c2e51940
commit
72c54c53cd
7 changed files with 10 additions and 10 deletions
|
@ -529,7 +529,7 @@ impl HirDisplay for Ty {
|
|||
projection_ty.hir_fmt(f)?;
|
||||
}
|
||||
}
|
||||
TyKind::ForeignType(type_alias) => {
|
||||
TyKind::Foreign(type_alias) => {
|
||||
let type_alias = f.db.type_alias_data(from_foreign_def_id(*type_alias));
|
||||
write!(f, "{}", type_alias.name)?;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue