pub(crate) fn has_doc_flag<F: Fn(&DocAttribute) -> bool>(
tcx: TyCtxt<'_>,
did: DefId,
callback: F,
) -> boolExpand description
This function exists because it runs on rustc_attr_ir::Attributes whereas the other is a
clean::Attributes method.