Skip to content

Commit 951d3b2

Browse files
committed
---
yaml --- r: 21421 b: refs/heads/snap-stage3 c: 6d78819 h: refs/heads/master i: 21419: 28f1c5e v: v3
1 parent 257bfc1 commit 951d3b2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 3e6ddf72baefb1db2909061ed96abcb85bd4d6f1
4+
refs/heads/snap-stage3: 6d788198d784c126ca75475f5a0178722db82d56
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/rustc/middle/ty.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ fn fold_regions_and_ty(
10351035
ty_trait(def_id, ref substs, vst) => {
10361036
ty::mk_trait(cx, def_id, fold_substs(substs, fldr, fldt), vst)
10371037
}
1038-
ref sty @ ty_fn(f) => {
1038+
ty_fn(f) => {
10391039
let new_proto;
10401040
match f.proto {
10411041
proto_bare =>
@@ -2229,7 +2229,7 @@ pure fn hash_region(r: &region) -> uint {
22292229
(hash_bound_region(&br)) << 2u | 1u,
22302230
re_scope(id) => ((id as uint) << 2u) | 2u,
22312231
re_var(id) => (id.to_uint() << 2u) | 3u,
2232-
re_bot => 4u
2232+
re_static => 4u
22332233
}
22342234
}
22352235

branches/snap-stage3/src/rustc/middle/typeck/check.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ fn check_expr_with_unifier(fcx: @fn_ctxt,
892892
// functions. Therefore, we match one level of structure.
893893
let fn_ty =
894894
match structure_of(fcx, sp, in_fty) {
895-
sty @ ty::ty_fn(ref fn_ty) => {
895+
ty::ty_fn(ref fn_ty) => {
896896
replace_bound_regions_in_fn_ty(
897897
fcx.ccx.tcx, @nil, None, fn_ty,
898898
|_br| fcx.infcx.next_region_var(sp,

0 commit comments

Comments
 (0)