Function rustc_typeck::collect::should_inherit_track_caller[][src]

fn should_inherit_track_caller(tcx: TyCtxt<'_>, def_id: DefId) -> bool
Expand description

Checks if the provided DefId is a method in a trait impl for a trait which has track_caller applied to the method prototype.