Skip to content

Commit

Permalink
fix nightly rustc lint
Browse files Browse the repository at this point in the history
  • Loading branch information
stormshield-gt committed Dec 12, 2024
1 parent 9aa1c01 commit e420482
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rustify_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ fn endpoint_derive(s: synstructure::Structure) -> proc_macro2::TokenStream {
let const_name = format!("_DERIVE_Endpoint_FOR_{}", id);
let const_ident = Ident::new(const_name.as_str(), Span::call_site());
quote! {
#[allow(non_local_definitions)]
const #const_ident: () = {
use rustify::__private::serde::Serialize;
use rustify::http::{build_body, build_query};
Expand Down

0 comments on commit e420482

Please sign in to comment.