{"ast_node_type":"impl","tokens":[{"end":53,"kind":"keyword","start":0,"text":")"}]}
    ) -> impl Iterator<Item = &'tcx hir::Attribute> {
        attr: Symbol,
        self.get_all_attrs(did).iter().filter(move |a: &&hir::Attribute| a.has_name(attr))