Skip to content

Commit e420482

Browse files
fix nightly rustc lint
1 parent 9aa1c01 commit e420482

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rustify_derive/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ fn endpoint_derive(s: synstructure::Structure) -> proc_macro2::TokenStream {
301301
let const_name = format!("_DERIVE_Endpoint_FOR_{}", id);
302302
let const_ident = Ident::new(const_name.as_str(), Span::call_site());
303303
quote! {
304+
#[allow(non_local_definitions)]
304305
const #const_ident: () = {
305306
use rustify::__private::serde::Serialize;
306307
use rustify::http::{build_body, build_query};

0 commit comments

Comments
 (0)