fn should_inherit_track_caller(tcx: TyCtxt<'_>, def_id: DefId) -> bool
Checks if the provided DefId is a method in a trait impl for a trait which has track_caller applied to the method prototype.