Update FIXME

This commit is contained in:
John Kåre Alsaker 2017-07-15 04:33:45 +02:00
parent b744b1cfe3
commit e4fdbcbc9f

View file

@ -32,7 +32,8 @@ impl<'a, 'gcx, 'tcx> FnCtxt<'a, 'gcx, 'tcx> {
debug!("check_expr_closure(expr={:?},expected={:?})",
expr,
expected);
// FIXME: See if expected_kind here can impact generators
// FIXME: Should we adapt deduce_expectations_from_expected_type to work with
// generator traits? It looks like it's conservative to add support for this later.
// It's always helpful for inference if we know the kind of
// closure sooner rather than later, so first examine the expected