pub fn inherits_cfg(tcx: TyCtxt<'_>, def_id: LocalDefId) -> boolExpand description
Checks if the item of any of its parents has #[cfg(...)] attribute applied.
pub fn inherits_cfg(tcx: TyCtxt<'_>, def_id: LocalDefId) -> boolChecks if the item of any of its parents has #[cfg(...)] attribute applied.