fix truncated comment
This commit is contained in:
parent
4f549fe4fe
commit
d925f4d1dd
1 changed files with 4 additions and 1 deletions
|
|
@ -134,7 +134,10 @@ impl<'a, 'gcx, 'tcx> TypeChecker<'a, 'gcx, 'tcx> {
|
|||
None
|
||||
});
|
||||
|
||||
// Finally
|
||||
// Finally, if we instantiated the anon types successfully, we
|
||||
// have to solve any bounds (e.g., `-> impl Iterator` needs to
|
||||
// prove that `T: Iterator` where `T` is the type we
|
||||
// instantiated it with).
|
||||
if let Some(anon_type_map) = anon_type_map {
|
||||
self.fully_perform_op(start_position.at_self(), |_cx| {
|
||||
infcx.constrain_anon_types(&anon_type_map, universal_regions);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue