We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af38d71 commit a175f36Copy full SHA for a175f36
compiler/rustc_typeck/src/astconv/mod.rs
@@ -886,6 +886,8 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
886
self.compute_bounds_inner(param_ty, &ast_bounds, sized_by_default, span)
887
}
888
889
+ /// Convert the bounds in `ast_bounds` that refer to traits which define an associated type
890
+ /// named `assoc_name` into ty::Bounds. Ignore the rest.
891
pub fn compute_bounds_that_match_assoc_type(
892
&self,
893
param_ty: Ty<'tcx>,
0 commit comments