Function clippy_utils::is_ty_param_lang_item [−][src]
pub fn is_ty_param_lang_item<'tcx>(
cx: &LateContext<'_>,
qpath: &QPath<'tcx>,
item: LangItem
) -> Option<&'tcx Ty<'tcx>>Expand description
Checks if the first type parameter is a lang item.
