Skip to content

Commit 692895e

Browse files
committed
---
yaml --- r: 32191 b: refs/heads/dist-snap c: 6d78819 h: refs/heads/master i: 32189: 5a47b76 32187: 9cdc853 32183: acdd71b 32175: 924b8d1 32159: cc636ce 32127: 9020d16 v: v3
1 parent 71180ac commit 692895e

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
@@ -7,6 +7,6 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10-
refs/heads/dist-snap: 3e6ddf72baefb1db2909061ed96abcb85bd4d6f1
10+
refs/heads/dist-snap: 6d788198d784c126ca75475f5a0178722db82d56
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/dist-snap/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/dist-snap/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)