mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
Re-enable typestate_check in build, was lost during merge. Sorry.
This commit is contained in:
parent
0397c05f42
commit
23f18a096f
@ -8,7 +8,7 @@ import middle.trans;
|
||||
import middle.resolve;
|
||||
import middle.ty;
|
||||
import middle.typeck;
|
||||
// import middle.typestate_check;
|
||||
import middle.typestate_check;
|
||||
import util.common;
|
||||
|
||||
import std.map.mk_hashmap;
|
||||
|
@ -341,7 +341,7 @@ impure fn find_pre_post_item(fn_info enclosing, &item i) -> item {
|
||||
case (ast.item_ty(_,_,_,_,_)) {
|
||||
ret i;
|
||||
}
|
||||
case (ast.item_tag(_,_,_,_)) {
|
||||
case (ast.item_tag(_,_,_,_,_)) {
|
||||
ret i;
|
||||
}
|
||||
case (ast.item_obj(?id, ?o, ?ps, ?di, ?a)) {
|
||||
|
@ -20,6 +20,7 @@ mod middle {
|
||||
mod trans;
|
||||
mod ty;
|
||||
mod typeck;
|
||||
mod typestate_check;
|
||||
}
|
||||
|
||||
mod back {
|
||||
|
Loading…
Reference in New Issue
Block a user