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
|
@ -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]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue