rustc_lint::impl_trait_overcaptures

Function check_fn

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