Skip to content

Commit bd9b938

Browse files
committed
---
yaml --- r: 36539 b: refs/heads/try2 c: f02e9db h: refs/heads/master i: 36537: d8ae66e 36535: 4e5ba14 v: v3
1 parent 4c5c287 commit bd9b938

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
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: d1ebdbeb6c00fe7d119ce17cabb303c5731f9bf7
8+
refs/heads/try2: f02e9db212199e7d7e70b0330b8ea76caaaa0ea9
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
1010
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

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