Document compute_bounds_that_match_assoc_type

This commit is contained in:
Santiago Pastorino 2020-11-24 16:58:25 -03:00
parent af38d71b17
commit a175f36c95
No known key found for this signature in database
GPG Key ID: 8131A24E0C79EFAF

View File

@ -886,6 +886,8 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
self.compute_bounds_inner(param_ty, &ast_bounds, sized_by_default, span)
}
/// Convert the bounds in `ast_bounds` that refer to traits which define an associated type
/// named `assoc_name` into ty::Bounds. Ignore the rest.
pub fn compute_bounds_that_match_assoc_type(
&self,
param_ty: Ty<'tcx>,