feat(frame-support-procedural): add automaticaly_derived attr to NoBound derives (#2197)

fixes #2196
This commit is contained in:
benluelo
2023-11-08 10:51:40 +00:00
committed by GitHub
parent 2e2a75ff81
commit 640e385aec
5 changed files with 7 additions and 0 deletions
@@ -112,6 +112,7 @@ pub fn derive_debug_no_bound(input: proc_macro::TokenStream) -> proc_macro::Toke
quote::quote!(
const _: () = {
#[automatically_derived]
impl #impl_generics ::core::fmt::Debug for #input_ident #ty_generics #where_clause {
fn fmt(&self, fmt: &mut ::core::fmt::Formatter) -> ::core::fmt::Result {
#impl_