Fix parallel codegen regression

Regressed by #26326
This commit is contained in:
Nick Cameron 2015-06-22 22:34:12 -07:00
parent e749f724b0
commit ce0c2572ec
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}