Skip to content

Commit

Permalink
Add #[automatically_derived]
Browse files Browse the repository at this point in the history
This addressed some issues of warnings for unread assignments.
  • Loading branch information
TedDriggs committed Feb 22, 2024
1 parent e8496ce commit 80db537
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/codegen/outer_from_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ pub trait OuterFromImpl<'a> {
let (impl_generics, ty_generics, where_clause) = generics.split_for_impl();

tokens.append_all(quote!(
#[automatically_derived]
impl #impl_generics #trayt for #ty_ident #ty_generics
#where_clause
{
Expand Down

0 comments on commit 80db537

Please sign in to comment.