Skip to content
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

Selectively allow unused fields and trait members for rust-1.83 #470

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

elliottt
Copy link

@elliottt elliottt commented Jan 8, 2025

I noticed that it's not possible to build rubyfmt with rust-1.83.0 due to improvements in detecting unused trait members and enum fields. This PR adds allow annotations to definitions that are currently unused, deferring any decisions about their removal, to allow rubyfmt to build with newer versions of rust.

Fixes #467

@elliottt elliottt marked this pull request as ready for review January 8, 2025 19:10
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.

rubyfmt 0.10.0 failed to build against rust 1.79.0
2 participants