Skip to content

Commit ddc07b9

Browse files
committed
---
yaml --- r: 91583 b: refs/heads/auto c: 98f7973 h: refs/heads/master i: 91581: 59bf0be 91579: 34e7e21 91575: a013101 91567: 7ad7268 91551: 3400691 91519: 356bc58 v: v3
1 parent 00e84ff commit ddc07b9

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: f4f4a35b5b1fe54b05b2dac3428c55ef2d3923b1
16+
refs/heads/auto: 98f79735c3f76c9e1a263a4a37104bda51c5dd5f
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/librustc/metadata/tydecode.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@ fn parse_sig(st: &mut PState, conv: conv_did) -> ty::FnSig {
551551
let variadic = match next(st) {
552552
'V' => true,
553553
'N' => false,
554+
r => fail!(format!("Bad variadic: {}", r)),
554555
};
555556
let ret_ty = parse_ty(st, |x,y| conv(x,y));
556557
ty::FnSig {binder_id: id,

branches/auto/src/librustc/middle/ty.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4245,7 +4245,8 @@ pub fn normalize_ty(cx: ctxt, t: t) -> t {
42454245
// are erased at trans time.
42464246
ty::FnSig { binder_id: ast::DUMMY_NODE_ID,
42474247
inputs: ty_fold::fold_ty_vec(self, sig.inputs),
4248-
output: self.fold_ty(sig.output) }
4248+
output: self.fold_ty(sig.output),
4249+
variadic: sig.variadic }
42494250
}
42504251
}
42514252
}
@@ -4572,7 +4573,7 @@ pub fn hash_crate_independent(tcx: ctxt, t: t, local_hash: @str) -> u64 {
45724573
ReEarlyBound(*) |
45734574
ReLateBound(*) |
45744575
ReFree(*) |
4575-
ReStatic(*) |
4576+
ReScope(*) |
45764577
ReInfer(*) => {
45774578
tcx.sess.bug("non-static region found when hashing a type")
45784579
}

0 commit comments

Comments
 (0)