Skip to content

rust: pin-init: allow dead_code on projection structures#97

Closed
Gnurou wants to merge 1 commit intoRust-for-Linux:mainfrom
Gnurou:project-allow-dc
Closed

rust: pin-init: allow dead_code on projection structures#97
Gnurou wants to merge 1 commit intoRust-for-Linux:mainfrom
Gnurou:project-allow-dc

Conversation

@Gnurou
Copy link
Copy Markdown
Member

@Gnurou Gnurou commented Dec 17, 2025

Projection structures are not necessarily (and often not) used in their entirety. At the moment partial uses result in warnings about the unused members.

Discard them by allowing dead_code on the projection structure

Projection structures are not necessarily (and often not) used in their
entirety. At the moment partial uses result in warnings about the unused
members.

Discard them by allowing `dead_code` on the projection structure

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
@BennoLossin
Copy link
Copy Markdown
Member

BennoLossin commented Dec 25, 2025

Could you also create a test-case to catch regressions? Thanks!

(& also rebase, the ui-tests should pass on main again)

@nbdd0121
Copy link
Copy Markdown
Member

Closing as this targets the legacy pre-syn version and the dead_code has been added since.

@nbdd0121 nbdd0121 closed this Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants