Rename ItemKind::Ty to ItemKind::TyAlias
This commit is contained in:
parent
460072ebee
commit
8aa45c65d8
31 changed files with 52 additions and 52 deletions
|
|
@ -2802,7 +2802,7 @@ impl Clean<Type> for hir::Ty {
|
|||
}
|
||||
};
|
||||
|
||||
if let Some(&hir::ItemKind::Ty(ref ty, ref generics)) = alias {
|
||||
if let Some(&hir::ItemKind::TyAlias(ref ty, ref generics)) = alias {
|
||||
let provided_params = &path.segments.last().expect("segments were empty");
|
||||
let mut ty_substs = FxHashMap::default();
|
||||
let mut lt_substs = FxHashMap::default();
|
||||
|
|
|
|||
|
|
@ -458,7 +458,7 @@ impl<'a, 'tcx> RustdocVisitor<'a, 'tcx> {
|
|||
om.unions.push(self.visit_union_data(item, ident.name, sd, gen)),
|
||||
hir::ItemKind::Fn(ref fd, header, ref gen, body) =>
|
||||
self.visit_fn(om, item, ident.name, &**fd, header, gen, body),
|
||||
hir::ItemKind::Ty(ref ty, ref gen) => {
|
||||
hir::ItemKind::TyAlias(ref ty, ref gen) => {
|
||||
let t = Typedef {
|
||||
ty,
|
||||
gen,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue