-
Notifications
You must be signed in to change notification settings - Fork 109
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
The KnownLayout
macro has an issue with the latest nightly
#2117
Comments
I am able to reproduce this locally using zerocopy 0.8.11. Confusingly, when I run What was the most recent nightly for which this code passed Clippy without issue? EDIT: I bisected locally and determined that the regression was introduced in |
I've filed an issue upstream: rust-lang/rust#133775 |
As of nightly-2024-11-20 - specifically [1] - this triggers an `unexpected_cfgs` lint even when emitted in derive-generated code. [1] rust-lang/rust#132577 Fixes #2117 gherrit-pr-id: I9d536f0ea08475afe0b65411b225aa55f4db449a
Update: It's actually a zerocopy bug. Fix pending: #2123 |
As of nightly-2024-11-20 - specifically [1] - this triggers an `unexpected_cfgs` lint even when emitted in derive-generated code. [1] rust-lang/rust#132577 Fixes #2117 gherrit-pr-id: I9d536f0ea08475afe0b65411b225aa55f4db449a
As of nightly-2024-11-20 - specifically [1] - this triggers an `unexpected_cfgs` lint even when emitted in derive-generated code. [1] rust-lang/rust#132577 Fixes #2117 gherrit-pr-id: I9d536f0ea08475afe0b65411b225aa55f4db449a
Fixed by #2123. |
The fix is now released in 0.8.12. |
As of nightly-2024-11-20 - specifically [1] - this triggers an `unexpected_cfgs` lint even when emitted in derive-generated code. [1] rust-lang/rust#132577 Fixes #2117 gherrit-pr-id: I9d536f0ea08475afe0b65411b225aa55f4db449a
This is failing for me with
nightly-2024-11-26
running
cargo +nightly-2024-11-26 clippy
giveswhich is causing issues in my strict CI
The text was updated successfully, but these errors were encountered: