{"ast_node_type":"other","tokens":[{"end":29,"kind":"keyword","start":0,"text":"Res::Err"}]}
            Res::Err => None,
            Res::Def(DefKind::Trait | DefKind::TraitAlias, did) => Some(did),
            res => panic!("{res:?} did not resolve to a trait or trait alias"),