Add -Zno-implied-bounds-compat option and use it
This commit is contained in:
parent
d96003dd2a
commit
acab76573f
8 changed files with 37 additions and 16 deletions
|
@ -202,8 +202,7 @@ fn get_impl_args(
|
|||
return Err(guar);
|
||||
}
|
||||
|
||||
let implied_bounds =
|
||||
infcx.implied_bounds_tys_compat(param_env, impl1_def_id, &assumed_wf_types);
|
||||
let implied_bounds = infcx.implied_bounds_tys(param_env, impl1_def_id, &assumed_wf_types);
|
||||
let outlives_env = OutlivesEnvironment::with_bounds(param_env, implied_bounds);
|
||||
let _ = ocx.resolve_regions_and_report_errors(impl1_def_id, &outlives_env);
|
||||
let Ok(impl2_args) = infcx.fully_resolve(impl2_args) else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue