1
Fork 0

Hide some follow-up errors

This commit is contained in:
Oli Scherer 2024-05-27 09:45:40 +00:00
parent aebe8a7ed3
commit 61c4b7f1a7
2 changed files with 8 additions and 6 deletions

View file

@ -86,6 +86,8 @@ fn enforce_impl_params_are_constrained(
let impl_predicates = tcx.predicates_of(impl_def_id);
let impl_trait_ref = tcx.impl_trait_ref(impl_def_id).map(ty::EarlyBinder::instantiate_identity);
impl_trait_ref.error_reported()?;
let mut input_parameters = cgp::parameters_for_impl(tcx, impl_self_ty, impl_trait_ref);
cgp::identify_constrained_generic_params(
tcx,