review
This commit is contained in:
parent
bc0156bace
commit
f3996f6a88
21 changed files with 62 additions and 40 deletions
|
@ -696,7 +696,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
|||
.param_env
|
||||
.caller_bounds()
|
||||
.iter()
|
||||
.all(|bound| bound.needs_subst(self.tcx()))
|
||||
.all(|bound| bound.definitely_needs_subst(self.tcx()))
|
||||
{
|
||||
// If a param env has no global bounds, global obligations do not
|
||||
// depend on its particular value in order to work, so we can clear
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue