Rename ItemKind::Ty to ItemKind::TyAlias
This commit is contained in:
parent
460072ebee
commit
8aa45c65d8
31 changed files with 52 additions and 52 deletions
|
|
@ -1397,7 +1397,7 @@ impl<'l, 'tcx> Visitor<'l> for DumpVisitor<'l, 'tcx> {
|
|||
self.process_mod(item);
|
||||
visit::walk_mod(self, m);
|
||||
}
|
||||
Ty(ref ty, ref ty_params) => {
|
||||
TyAlias(ref ty, ref ty_params) => {
|
||||
let qualname = format!("::{}",
|
||||
self.tcx.def_path_str(self.tcx.hir().local_def_id_from_node_id(item.id)));
|
||||
let value = ty_to_string(&ty);
|
||||
|
|
|
|||
|
|
@ -438,7 +438,7 @@ impl Sig for ast::Item {
|
|||
refs: vec![],
|
||||
})
|
||||
}
|
||||
ast::ItemKind::Ty(ref ty, ref generics) => {
|
||||
ast::ItemKind::TyAlias(ref ty, ref generics) => {
|
||||
let text = "type ".to_owned();
|
||||
let mut sig = name_and_generics(text, offset, generics, self.id, self.ident, scx)?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue