Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit fb467fc

Browse files
Tyera Eulbergmergify-bot
Tyera Eulberg
authored and
mergify-bot
committed
Add Ident case (#24390)
(cherry picked from commit a0e3e3c)
1 parent 0269bf0 commit fb467fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sdk/macro/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@ impl Parse for RespanInput {
198198
respan_using: ident.span(),
199199
})
200200
}
201+
TokenTree::Ident(i) => Ok(RespanInput {
202+
to_respan,
203+
respan_using: i.span(),
204+
}),
201205
val => Err(syn::Error::new_spanned(
202206
val,
203207
"expected None-delimited group",

0 commit comments

Comments
 (0)