let variadic = match next(st) {
'V' => true,
'N' => false,
+ r => fail!(format!("Bad variadic: {}", r)),
};
let ret_ty = parse_ty(st, |x,y| conv(x,y));
ty::FnSig {binder_id: id,
// are erased at trans time.
ty::FnSig { binder_id: ast::DUMMY_NODE_ID,
inputs: ty_fold::fold_ty_vec(self, sig.inputs),
- output: self.fold_ty(sig.output) }
+ output: self.fold_ty(sig.output),
+ variadic: sig.variadic }
}
}
}
ReEarlyBound(*) |
ReLateBound(*) |
ReFree(*) |
- ReStatic(*) |
+ ReScope(*) |
ReInfer(*) => {
tcx.sess.bug("non-static region found when hashing a type")
}