Document compute_bounds_that_match_assoc_type
This commit is contained in:
parent
af38d71b17
commit
a175f36c95
1 changed files with 2 additions and 0 deletions
|
@ -886,6 +886,8 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
|
||||||
self.compute_bounds_inner(param_ty, &ast_bounds, sized_by_default, span)
|
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(
|
pub fn compute_bounds_that_match_assoc_type(
|
||||||
&self,
|
&self,
|
||||||
param_ty: Ty<'tcx>,
|
param_ty: Ty<'tcx>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue