has_doc_flag

Function has_doc_flag 

Source
pub(crate) fn has_doc_flag<F: Fn(&DocAttribute) -> bool>(
    tcx: TyCtxt<'_>,
    did: DefId,
    callback: F,
) -> bool
Expand description

This function exists because it runs on hir::Attributes whereas the other is a clean::Attributes method.