From ed5bc60d4e87202f6dd290e643038a484e91532d Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 25 Aug 2017 07:31:05 -0700 Subject: [PATCH] Remove unneeded FIXME for now --- src/librustc_typeck/check/closure.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/librustc_typeck/check/closure.rs b/src/librustc_typeck/check/closure.rs index 8f8dc71899fc..a768271f3b82 100644 --- a/src/librustc_typeck/check/closure.rs +++ b/src/librustc_typeck/check/closure.rs @@ -32,8 +32,6 @@ impl<'a, 'gcx, 'tcx> FnCtxt<'a, 'gcx, 'tcx> { debug!("check_expr_closure(expr={:?},expected={:?})", expr, expected); - // 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