Skip to content

Split detecting unconstructible pub structs into a new lint from dead_code#128389

Closed
mu001999 wants to merge 1 commit intorust-lang:masterfrom
mu001999-contrib:dead/enhance
Closed

Split detecting unconstructible pub structs into a new lint from dead_code#128389
mu001999 wants to merge 1 commit intorust-lang:masterfrom
mu001999-contrib:dead/enhance

Conversation

@mu001999
Copy link
Contributor

@mu001999 mu001999 commented Jul 30, 2024

#125572 detects never constructed pub structs, but introduces some regressions (#126169 and #128272).

This does not fix the regressions but just split the detection into a new lint, #127104 and #128329 try to fix them.

I don't know if it is late or not for this PR. But this could at least provide a way to help silence the lint separately for current or potential future regressions.

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

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants