Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand
#[expect]
attributes into #[allow]
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>.
- Loading branch information