Skip to content

Conversation

@samueltardieu
Copy link

An #[expect] outer attribute must not be kept in the #[automatically_derived] code, as the expanded code will probably not meet the expectations. Transforming it into the equivalent #[allow] attribute is the safest way to ensure that expected attributes will not trigger a warning.

Noticed through a bug report entered at the Clippy repository at rust-lang/rust-clippy#14008.

An `#[expect]` outer attribute must not be kept in the
`#[automatically_derived]` code, as the expanded code will probably not
meet the expectations. Transforming it into the equivalent `#[allow]`
attribute is the safest way to ensure that expected attributes will not
trigger a warning.

Noticed through a bug report entered at the Clippy repository at
<rust-lang/rust-clippy#14008>.
@samueltardieu
Copy link
Author

Is there anything missing on this PR to make it noticed?

@samueltardieu
Copy link
Author

Ping?

@samueltardieu
Copy link
Author

Anyone alive here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant