Function rustc_codegen_ssa::codegen_attrs::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.