From 2d42ba9ae22dd4f6307920c71e11d14d828b8b76 Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Fri, 15 Apr 2022 11:14:29 -0600 Subject: [PATCH] Add Ident case --- sdk/macro/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) 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",