File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed
branches/try2/src/librustc/middle Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5
5
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: d1ebdbeb6c00fe7d119ce17cabb303c5731f9bf7
8
+ refs/heads/try2: f02e9db212199e7d7e70b0330b8ea76caaaa0ea9
9
9
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10
10
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
11
11
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change @@ -782,7 +782,6 @@ fn check_pat(tcx: ty::ctxt, pat: @ast::pat) {
782
782
span,
783
783
fmt!( "binding `%s` should use ref or copy mode",
784
784
tcx. sess. str_of( path_to_ident( path) ) ) ) ;
785
- tcx. bad_bindings. insert( id, ( ) ) ;
786
785
}
787
786
}
788
787
}
Original file line number Diff line number Diff line change @@ -429,10 +429,7 @@ type ctxt =
429
429
destructor_for_type : HashMap < ast:: def_id , ast:: def_id > ,
430
430
431
431
// 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 , ( ) >
436
433
} ;
437
434
438
435
enum tbox_flag {
@@ -971,8 +968,7 @@ fn mk_ctxt(s: session::Session,
971
968
automatically_derived_methods: HashMap ( ) ,
972
969
automatically_derived_methods_for_impl: HashMap ( ) ,
973
970
destructor_for_type: HashMap ( ) ,
974
- destructors: HashMap ( ) ,
975
- value_modes: HashMap ( ) }
971
+ destructors: HashMap ( ) }
976
972
}
977
973
978
974
You can’t perform that action at this time.
0 commit comments