{"ast_node_type":"function","tokens":[{"end":94,"kind":"keyword","start":0,"text":"fn"}]}
fn parse_linkage_attr(tcx: TyCtxt<'_>, did: LocalDefId, attr: &Attribute) -> Option<Linkage> {
// FIXME(jdonszelmann): remove when linkage becomes a parsed attr
    let val = attr.value_str()?;