diff options
| author | Donough Liu <ldm2993593805@163.com> | 2020-12-20 21:45:23 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-20 21:45:23 +0800 |
| commit | 4eb28c358c189c9fa35cc4ed22c2c0d230fbe9b2 (patch) | |
| tree | 7c2ed54f5bd5ae71f3d40109ec3c835edc2a8b4c | |
| parent | a33f6ac9a0b124f3373cd0fd2063bfadf4242e5d (diff) | |
| download | rust-4eb28c358c189c9fa35cc4ed22c2c0d230fbe9b2.tar.gz rust-4eb28c358c189c9fa35cc4ed22c2c0d230fbe9b2.zip | |
Update compiler/rustc_typeck/src/check/op.rs
Co-authored-by: lcnr <bastian_kauschke@hotmail.de>
| -rw-r--r-- | compiler/rustc_typeck/src/check/op.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_typeck/src/check/op.rs b/compiler/rustc_typeck/src/check/op.rs index 6305bafcd94..9ab056c0d74 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. |
