mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
File a FIXME relating to using where clauses, not bounds
This commit is contained in:
parent
df967306e3
commit
58467fab0f
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user