Public tuple structs give dead_code warnings on nightly #127735
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Rationale and extra context
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=a317497cf4017ba3f7b5d963270b032e
Nightly version gives dead code errors on public tuple structs, and on stable it doesn't.
Other cases
No response
Rust Version
Anything else?
Not sure where to put this issue, if I labelled baldy, then I'm sorry 🙏
The text was updated successfully, but these errors were encountered: