From 4eb28c358c189c9fa35cc4ed22c2c0d230fbe9b2 Mon Sep 17 00:00:00 2001 From: Donough Liu Date: Sun, 20 Dec 2020 21:45:23 +0800 Subject: [PATCH] Update compiler/rustc_typeck/src/check/op.rs Co-authored-by: lcnr --- compiler/rustc_typeck/src/check/op.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/rustc_typeck/src/check/op.rs b/compiler/rustc_typeck/src/check/op.rs index 6305bafcd94d..9ab056c0d74b 100644 --- a/compiler/rustc_typeck/src/check/op.rs +++ b/compiler/rustc_typeck/src/check/op.rs @@ -503,7 +503,6 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> { if !self.tcx.has_typeck_results(def_id) { return false; } - // We're emitting a suggestion, so we can just ignore regions // FIXME: Instead of exiting early when encountering bound vars in // the function signature, consider keeping the binder here and // propagating it downwards.