Skip to main content

matches

Function matches 

Source
pub(crate) fn matches(tcx: TyCtxt<'_>, def_id: DefId, item: LangItem) -> bool
Expand description

Match a compiler-provided lang item by its DefId.