Cleanup
This commit is contained in:
parent
7f24c21a50
commit
476bd53058
9 changed files with 25 additions and 66 deletions
|
@ -541,7 +541,7 @@ impl<'cx, 'tcx> InferCtxt<'cx, 'tcx> {
|
|||
span_bug!(cause.span, "unexpected const outlives {:?}", constraint);
|
||||
}
|
||||
};
|
||||
let predicate = predicate.rebind(atom).potentially_quantified(self.tcx);
|
||||
let predicate = predicate.rebind(atom).to_predicate(self.tcx);
|
||||
|
||||
Obligation::new(cause.clone(), param_env, predicate)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue