Skip to content

Commit

Permalink
Document compute_bounds_that_match_assoc_type
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed Nov 27, 2020
1 parent af38d71 commit a175f36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/rustc_typeck/src/astconv/mod.rs
Expand Up @@ -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>,
Expand Down

0 comments on commit a175f36

Please sign in to comment.