Skip to content

Fix the unused struct field lint for struct variants #14839

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

Closed
wants to merge 1 commit into from
Closed

Fix the unused struct field lint for struct variants #14839

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jun 12, 2014

Fixes #14837.

Bar {
pub baz: int
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this test pass? The test harness expects an executable file. Additionally, could you deny(warnings)?

@ghost
Copy link
Author

ghost commented Jun 12, 2014

@alexcrichton Done!

@ghost ghost deleted the issue-14837 branch July 2, 2014 23:42
bors pushed a commit to rust-lang-ci/rust that referenced this pull request May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dead code lint trips for publically exported struct variant fields
1 participant