[][src]Function rustdoc::passes::collect_intra_doc_links::handle_variant

fn handle_variant(
    cx: &DocContext,
    def: Def
) -> Result<(Def, Option<String>), ()>

Given an enum variant's def, return the def of its enum and the associated fragment