Skip to content

Commit

Permalink
Fix parallel codegen regression
Browse files Browse the repository at this point in the history
Regressed by rust-lang#26326
  • Loading branch information
nrc committed Jun 23, 2015
1 parent e749f72 commit ce0c257
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustc/middle/ty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3283,6 +3283,7 @@ impl FlagComputation {
}

&TyClosure(_, substs) => {
self.add_flags(TypeFlags::HAS_TY_CLOSURE);
self.add_flags(TypeFlags::HAS_LOCAL_NAMES);
self.add_substs(substs);
}
Expand Down

0 comments on commit ce0c257

Please sign in to comment.