about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/librustc_typeck/check/method/probe.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_typeck/check/method/probe.rs b/src/librustc_typeck/check/method/probe.rs
index d7a42b59a12..1634b47988d 100644
--- a/src/librustc_typeck/check/method/probe.rs
+++ b/src/librustc_typeck/check/method/probe.rs
@@ -645,7 +645,7 @@ impl<'a,'tcx> ProbeContext<'a,'tcx> {
                    predicates.repr(self.tcx()));
             for poly_bound in
                 traits::elaborate_predicates(self.tcx(), predicates)
-                .filter_map(|p| p.to_opt_poly_trait_ref()) // TODO filter_to_traits()
+                .filter_map(|p| p.to_opt_poly_trait_ref())
                 .filter(|b| b.def_id() == trait_def_id)
             {
                 let bound = self.erase_late_bound_regions(&poly_bound);