]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_infer/src/infer/equate.rs
Auto merge of #105094 - Swatinem:generator-not-future, r=compiler-errors
[rust.git] / compiler / rustc_infer / src / infer / equate.rs
index dca955778f866a1cda0beebe241e1a81a320f5c1..8682f4d3b7aed970783395d50e8ca09a8b648d64 100644 (file)
@@ -44,6 +44,10 @@ fn a_is_expected(&self) -> bool {
         self.a_is_expected
     }
 
+    fn mark_ambiguous(&mut self) {
+        self.fields.mark_ambiguous();
+    }
+
     fn relate_item_substs(
         &mut self,
         _item_def_id: DefId,