diff --git a/sdk/macro/src/lib.rs b/sdk/macro/src/lib.rs index 7c240f4c7598b1..723a5729c1b1e5 100644 --- a/sdk/macro/src/lib.rs +++ b/sdk/macro/src/lib.rs @@ -198,6 +198,10 @@ impl Parse for RespanInput { respan_using: ident.span(), }) } + TokenTree::Ident(i) => Ok(RespanInput { + to_respan, + respan_using: i.span(), + }), val => Err(syn::Error::new_spanned( val, "expected None-delimited group",