Actually use probes when needed and stop relying on existing outer probes

This commit is contained in:
Michael Goulet
2024-04-26 13:31:18 -04:00
parent 5776aec662
commit 7cf1c547c2
11 changed files with 349 additions and 334 deletions

View File

@@ -107,6 +107,8 @@ impl<'tcx> InferCtxt<'tcx> {
Ok(Some(ImplSource::Param(vec![])))
}
(_, CandidateSource::CoherenceUnknowable) => bug!(),
(Certainty::Maybe(_), _) => Ok(None),
}
})