Merge failures
This commit is contained in:
parent
f4f4a35b5b
commit
98f79735c3
@ -551,6 +551,7 @@ fn parse_sig(st: &mut PState, conv: conv_did) -> ty::FnSig {
|
||||
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,
|
||||
|
@ -4245,7 +4245,8 @@ pub fn normalize_ty(cx: ctxt, t: t) -> t {
|
||||
// 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 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -4572,7 +4573,7 @@ pub fn hash_crate_independent(tcx: ctxt, t: t, local_hash: @str) -> u64 {
|
||||
ReEarlyBound(*) |
|
||||
ReLateBound(*) |
|
||||
ReFree(*) |
|
||||
ReStatic(*) |
|
||||
ReScope(*) |
|
||||
ReInfer(*) => {
|
||||
tcx.sess.bug("non-static region found when hashing a type")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user