This commit is contained in:
Jonas Schievink 2016-09-20 20:18:35 +02:00
parent 48e5199de3
commit e59756ee92

View file

@ -240,7 +240,9 @@ impl<'a> LoweringContext<'a> {
}))
}
TyKind::Never => hir::TyNever,
TyKind::Tup(ref tys) => hir::TyTup(tys.iter().map(|ty| self.lower_ty(ty)).collect()),
TyKind::Tup(ref tys) => {
hir::TyTup(tys.iter().map(|ty| self.lower_ty(ty)).collect())
}
TyKind::Paren(ref ty) => {
return self.lower_ty(ty);
}