remove obsolete givens from regionck
This commit is contained in:
@@ -388,7 +388,6 @@ fn resolve_negative_obligation<'tcx>(
|
||||
let wf_tys = ocx.assumed_wf_types(param_env, DUMMY_SP, body_def_id);
|
||||
let outlives_env = OutlivesEnvironment::with_bounds(
|
||||
param_env,
|
||||
Some(&infcx),
|
||||
infcx.implied_bounds_tys(param_env, body_def_id, wf_tys),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user