rustc_codegen_ssa::codegen_attrs

Function should_inherit_track_caller

source
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.