Remove TyParen from HIR
This commit is contained in:
parent
57c8a3e8b6
commit
4a850159cd
8 changed files with 4 additions and 13 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue