Skip to content

Commit 85b9956

Browse files
committed
s/skol_predicate/placeholder_predicate
1 parent b99a8d7 commit 85b9956

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/traits/project.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,10 @@ pub fn poly_project_and_unify_type<'cx, 'gcx, 'tcx>(
206206

207207
let infcx = selcx.infcx();
208208
infcx.commit_if_ok(|snapshot| {
209-
let (skol_predicate, placeholder_map) =
209+
let (placeholder_predicate, placeholder_map) =
210210
infcx.replace_late_bound_regions_with_placeholders(&obligation.predicate);
211211

212-
let skol_obligation = obligation.with(skol_predicate);
212+
let skol_obligation = obligation.with(placeholder_predicate);
213213
let r = match project_and_unify_type(selcx, &skol_obligation) {
214214
Ok(result) => {
215215
let span = obligation.cause.span;

0 commit comments

Comments
 (0)