Skip to content

Commit

Permalink
Merge failures
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Nov 9, 2013
1 parent f4f4a35 commit 98f7973
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/librustc/metadata/tydecode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 3 additions & 2 deletions src/librustc/middle/ty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}
}
}
Expand Down Expand Up @@ -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")
}
Expand Down

2 comments on commit 98f7973

@nikomatsakis
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=pnkfelix

@nikomatsakis
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors: retry

Please sign in to comment.