We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9aa1c01 commit e420482Copy full SHA for e420482
rustify_derive/src/lib.rs
@@ -301,6 +301,7 @@ fn endpoint_derive(s: synstructure::Structure) -> proc_macro2::TokenStream {
301
let const_name = format!("_DERIVE_Endpoint_FOR_{}", id);
302
let const_ident = Ident::new(const_name.as_str(), Span::call_site());
303
quote! {
304
+ #[allow(non_local_definitions)]
305
const #const_ident: () = {
306
use rustify::__private::serde::Serialize;
307
use rustify::http::{build_body, build_query};
0 commit comments