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

Commit

Permalink
Add Ident case
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyera Eulberg committed Apr 15, 2022
1 parent 77182fc commit 2d42ba9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sdk/macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2d42ba9

Please sign in to comment.