Skip to content

Commit 969d0dd

Browse files
committed
---
yaml --- r: 28107 b: refs/heads/try c: 6d78819 h: refs/heads/master i: 28105: 269aa67 28103: fea3e44 v: v3
1 parent 8a40dff commit 969d0dd

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
@@ -2,7 +2,7 @@
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5-
refs/heads/try: 3e6ddf72baefb1db2909061ed96abcb85bd4d6f1
5+
refs/heads/try: 6d788198d784c126ca75475f5a0178722db82d56
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df

branches/try/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/try/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)