Skip to content

Commit fef3ad3

Browse files
committed
---
yaml --- r: 33927 b: refs/heads/snap-stage3 c: f02e9db h: refs/heads/master i: 33925: 55c9613 33923: 24edf1a 33919: ecb866d v: v3
1 parent a66a5f7 commit fef3ad3

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
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: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: d1ebdbeb6c00fe7d119ce17cabb303c5731f9bf7
4+
refs/heads/snap-stage3: f02e9db212199e7d7e70b0330b8ea76caaaa0ea9
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/librustc/middle/lint.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,6 @@ fn check_pat(tcx: ty::ctxt, pat: @ast::pat) {
782782
span,
783783
fmt!("binding `%s` should use ref or copy mode",
784784
tcx.sess.str_of(path_to_ident(path))));
785-
tcx.bad_bindings.insert(id, ());
786785
}
787786
}
788787
}

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -429,10 +429,7 @@ type ctxt =
429429
destructor_for_type: HashMap<ast::def_id, ast::def_id>,
430430

431431
// A method will be in this list if and only if it is a destructor.
432-
destructors: HashMap<ast::def_id, ()>,
433-
434-
// Records the value mode (read, copy, or move) for every value.
435-
value_modes: HashMap<ast::node_id, ValueMode>,
432+
destructors: HashMap<ast::def_id, ()>
436433
};
437434

438435
enum tbox_flag {
@@ -971,8 +968,7 @@ fn mk_ctxt(s: session::Session,
971968
automatically_derived_methods: HashMap(),
972969
automatically_derived_methods_for_impl: HashMap(),
973970
destructor_for_type: HashMap(),
974-
destructors: HashMap(),
975-
value_modes: HashMap()}
971+
destructors: HashMap()}
976972
}
977973

978974

0 commit comments

Comments
 (0)