ICH: Remove obsolete binding in saw_ty

This commit is contained in:
Mathieu Borderé 2016-10-06 08:10:52 +02:00
parent 6f6429609a
commit 0e40dbb2f7

View File

@ -366,10 +366,7 @@ fn saw_ty(node: &Ty_) -> SawTyComponent {
TyArray(..) => SawTyArray,
TyPtr(ref mty) => SawTyPtr(mty.mutbl),
TyRptr(_, ref mty) => SawTyRptr(mty.mutbl),
TyBareFn(ref barefnty) => {
let ref fnty = *barefnty;
SawTyBareFn(fnty.unsafety, fnty.abi)
},
TyBareFn(ref barefnty) => SawTyBareFn(barefnty.unsafety, barefnty.abi),
TyNever => SawTyNever,
TyTup(..) => SawTyTup,
TyPath(..) => SawTyPath,