We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 611063d commit 1162a2dCopy full SHA for 1162a2d
1 file changed
src/analyze/annot_fn.rs
@@ -163,6 +163,7 @@ impl<'tcx> AnnotFnTranslator<'tcx> {
163
164
pub fn with_def_id_cache(mut self, def_ids: DefIdCache<'tcx>) -> Self {
165
self.def_ids = def_ids;
166
+ self.type_builder = TypeBuilder::new(self.tcx, self.def_ids.clone(), self.local_def_id.to_def_id());
167
self
168
}
169
0 commit comments