Add -Zno-implied-bounds-compat option and use it
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user