Skip to content

Commit 58467fa

Browse files
committed
File a FIXME relating to using where clauses, not bounds
1 parent df96730 commit 58467fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_typeck/astconv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ fn associated_path_def_to_ty<'tcx>(this: &AstConv<'tcx>,
925925
// super-traits. Probably by elaborating the bounds.
926926

927927
suitable_bounds =
928-
ty_param_def.bounds.trait_bounds // TODO trait_bounds, no good
928+
ty_param_def.bounds.trait_bounds // FIXME(#20300) -- search where clauses, not bounds
929929
.iter()
930930
.cloned()
931931
.filter(|b| trait_defines_associated_type_named(this, b.def_id(), assoc_name))

0 commit comments

Comments
 (0)