(cherry picked from commit a0e3e3c193a7a7b0478cf7648b279e05dd839df8) Co-authored-by: Tyera Eulberg <tyera@solana.com>
This commit is contained in:
parent
aada9786eb
commit
de065d865a
@ -198,6 +198,10 @@ impl Parse for RespanInput {
|
|||||||
respan_using: ident.span(),
|
respan_using: ident.span(),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
TokenTree::Ident(i) => Ok(RespanInput {
|
||||||
|
to_respan,
|
||||||
|
respan_using: i.span(),
|
||||||
|
}),
|
||||||
val => Err(syn::Error::new_spanned(
|
val => Err(syn::Error::new_spanned(
|
||||||
val,
|
val,
|
||||||
"expected None-delimited group",
|
"expected None-delimited group",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user