Remove Ty prefix from Ty{Foreign|Param}
This commit is contained in:
parent
6f637da50c
commit
04fa5d3adb
68 changed files with 160 additions and 160 deletions
|
@ -747,13 +747,13 @@ impl<'l, 'tcx: 'l> SaveContext<'l, 'tcx> {
|
|||
HirDef::Union(def_id) |
|
||||
HirDef::Enum(def_id) |
|
||||
HirDef::TyAlias(def_id) |
|
||||
HirDef::TyForeign(def_id) |
|
||||
HirDef::Foreign(def_id) |
|
||||
HirDef::TraitAlias(def_id) |
|
||||
HirDef::AssociatedExistential(def_id) |
|
||||
HirDef::AssociatedTy(def_id) |
|
||||
HirDef::Trait(def_id) |
|
||||
HirDef::Existential(def_id) |
|
||||
HirDef::TyParam(def_id) => {
|
||||
HirDef::Param(def_id) => {
|
||||
let span = self.span_from_span(sub_span);
|
||||
Some(Ref {
|
||||
kind: RefKind::Type,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue