Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add suppress_derive_clone struct attribute #326

Closed
wants to merge 1 commit into from

Commits on Jun 27, 2024

  1. Add suppress_derive_clone struct attribute

    This attribute suppresses the default-generated `derive(Clone)`. This
    may be necessary where `derive(Clone)` copies constraints in an
    unsatisfiable way.
    
    See: https://smallcultfollowing.com/babysteps//blog/2022/04/12/implied-bounds-and-perfect-derive/
    See: rust-lang/rust#26925
    Fixes: colin-kiegel#325
    mathstuf committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    1dd03d5 View commit details
    Browse the repository at this point in the history