rustc_lint::impl_trait_overcaptures

Function check_fn

Source
fn check_fn(tcx: TyCtxt<'_>, parent_def_id: LocalDefId)