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