Remove expect_anon and expect_anon_placeholder in favor of var
This commit is contained in:
parent
4646b3df6a
commit
167b70692b
4 changed files with 12 additions and 34 deletions
|
@ -188,7 +188,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
|
|||
} else {
|
||||
// For placeholders which were already part of the input, we simply map this
|
||||
// universal bound variable back the placeholder of the input.
|
||||
original_values[info.expect_anon_placeholder() as usize]
|
||||
original_values[info.expect_placeholder_index()]
|
||||
}
|
||||
},
|
||||
));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue