Remove TyParen from HIR

This commit is contained in:
Vadim Petrochenkov 2015-11-16 22:49:47 +03:00
parent 57c8a3e8b6
commit 4a850159cd
8 changed files with 4 additions and 13 deletions

View file

@ -1444,7 +1444,6 @@ impl<'a, 'tcx> Rebuilder<'a, 'tcx> {
hir::TyTup(tys) => {
hir::TyTup(tys.into_iter().map(|ty| build_to(ty, to)).collect())
}
hir::TyParen(typ) => hir::TyParen(build_to(typ, to)),
other => other
};
hir::Ty { id: id, node: new_node, span: span }