shallow resolve in orphan check

This commit is contained in:
lcnr 2024-05-02 15:44:05 +00:00
parent 80451a485b
commit c4e882fd99
5 changed files with 44 additions and 36 deletions

View file

@ -330,6 +330,7 @@ fn orphan_check<'tcx>(
};
let Ok(result) = traits::orphan_check_trait_ref::<!>(
&infcx,
trait_ref,
traits::InCrate::Local { mode },
lazily_normalize_ty,