Skip to content

Commit 1162a2d

Browse files
committed
fixup! Support enum construction in formula_fn
1 parent 611063d commit 1162a2d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/analyze/annot_fn.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ impl<'tcx> AnnotFnTranslator<'tcx> {
163163

164164
pub fn with_def_id_cache(mut self, def_ids: DefIdCache<'tcx>) -> Self {
165165
self.def_ids = def_ids;
166+
self.type_builder = TypeBuilder::new(self.tcx, self.def_ids.clone(), self.local_def_id.to_def_id());
166167
self
167168
}
168169

0 commit comments

Comments
 (0)