Add -Zno-implied-bounds-compat option and use it
This commit is contained in:
@@ -191,7 +191,7 @@ pub fn all_fields_implement_trait<'tcx>(
|
||||
// Check regions assuming the self type of the impl is WF
|
||||
let outlives_env = OutlivesEnvironment::with_bounds(
|
||||
param_env,
|
||||
infcx.implied_bounds_tys_compat(
|
||||
infcx.implied_bounds_tys(
|
||||
param_env,
|
||||
parent_cause.body_id,
|
||||
&FxIndexSet::from_iter([self_type]),
|
||||
|
||||
Reference in New Issue
Block a user