Make hitting the recursion limit in projection non-fatal

This is relied on by wundergraph.
This commit is contained in:
Matthew Jasper 2021-01-15 20:45:38 +00:00
parent e48eb37b94
commit 5db5d8f87e
4 changed files with 63 additions and 13 deletions

View file

@ -291,10 +291,6 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
self.infcx.tcx
}
pub(super) fn query_mode(&self) -> TraitQueryMode {
self.query_mode
}
///////////////////////////////////////////////////////////////////////////
// Selection
//