1
Fork 0

remove outdated comment

This commit is contained in:
lcnr 2022-07-12 15:29:32 +02:00
parent baefd42861
commit 0fc5296876

View file

@ -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 }) })
} }
} }