remove outdated comment
This commit is contained in:
parent
baefd42861
commit
0fc5296876
1 changed files with 9 additions and 9 deletions
|
@ -155,14 +155,14 @@ where
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Promote the final query-region-constraints into a
|
Ok(TypeOpOutput {
|
||||||
// (optional) ref-counted vector:
|
output,
|
||||||
let region_constraints = if region_constraints.is_empty() {
|
constraints: if region_constraints.is_empty() {
|
||||||
None
|
None
|
||||||
} else {
|
} else {
|
||||||
Some(&*infcx.tcx.arena.alloc(region_constraints))
|
Some(infcx.tcx.arena.alloc(region_constraints))
|
||||||
};
|
},
|
||||||
|
error_info,
|
||||||
Ok(TypeOpOutput { output, constraints: region_constraints, error_info })
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue