rustdoc::passes::collect_intra_doc_links
fn is_primitive(path_str: &str, is_val: bool) -> Option<Def>