fn apply_capture_kind_on_capture_ty<'db>(
interner: DbInterner<'db>,
ty: Ty<'db>,
capture_kind: UpvarCapture,
region: Region<'db>,
) -> Ty<'db>Expand description
Returns a Ty that applies the specified capture kind on the provided capture Ty