We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
quote_spanned!
1 parent 149f43a commit 00c41d2Copy full SHA for 00c41d2
lang/syn/src/codegen/program/common.rs
@@ -1,7 +1,7 @@
1
use crate::IxArg;
2
use anyhow::Result;
3
use heck::CamelCase;
4
-use quote::quote_spanned;
+use quote::{quote, quote_spanned};
5
6
// Namespace for calculating instruction sighash signatures for any instruction
7
// not affecting program state.
@@ -55,5 +55,5 @@ pub fn generate_ix_variant_name_spanned(
55
) -> proc_macro2::TokenStream {
56
let n = name.to_camel_case();
57
let ident = proc_macro2::Ident::new(&n, span);
58
- quote_spanned! { span => #ident }
+ quote! { #ident }
59
}
0 commit comments