pub fn is_lang_item_or_ctor(
cx: &LateContext<'_>,
did: DefId,
item: LangItem,
) -> boolExpand description
Checks if the DefId matches the given LangItem or it’s constructor.
pub fn is_lang_item_or_ctor(
cx: &LateContext<'_>,
did: DefId,
item: LangItem,
) -> boolChecks if the DefId matches the given LangItem or it’s constructor.