about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2014-12-29 11:02:07 -0500
committerNiko Matsakis <niko@alum.mit.edu>2014-12-30 09:36:22 -0500
commit58467fab0f4e5be4d7fbc8a6c774aea500ec1f47 (patch)
tree52fe2d3d298699d28c8c0bb8483f740d02805258
parentdf967306e3f9b26ca089fbb59e1f961f913b89fd (diff)
downloadrust-58467fab0f4e5be4d7fbc8a6c774aea500ec1f47.tar.gz
rust-58467fab0f4e5be4d7fbc8a6c774aea500ec1f47.zip
File a FIXME relating to using where clauses, not bounds
-rw-r--r--src/librustc_typeck/astconv.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_typeck/astconv.rs b/src/librustc_typeck/astconv.rs
index 70abfa724ed..82a02320209 100644
--- a/src/librustc_typeck/astconv.rs
+++ b/src/librustc_typeck/astconv.rs
@@ -925,7 +925,7 @@ fn associated_path_def_to_ty<'tcx>(this: &AstConv<'tcx>,
         // super-traits. Probably by elaborating the bounds.
 
         suitable_bounds =
-            ty_param_def.bounds.trait_bounds // TODO trait_bounds, no good
+            ty_param_def.bounds.trait_bounds // FIXME(#20300) -- search where clauses, not bounds
             .iter()
             .cloned()
             .filter(|b| trait_defines_associated_type_named(this, b.def_id(), assoc_name))