rustdoc::passes::check_doc_test_visibility

Function should_have_doc_example

source
pub(crate) fn should_have_doc_example(cx: &DocContext<'_>, item: &Item) -> bool