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

Add lint to detect tuple-like structs #22060

Closed
wants to merge 1 commit into from

Conversation

edwardw
Copy link
Contributor

@edwardw edwardw commented Feb 7, 2015

It is benign and could be activated by individual crates.

cc #22045

@rust-highfive
Copy link
Collaborator

r? @huonw

(rust_highfive has picked a reviewer for you, use r? to override)

It is benign and could be activated by individual crates.

cc rust-lang#22045
@alexcrichton
Copy link
Member

cc #21761, we may want to start being more cautious about the number of lints that we're adding to the compiler. This may also want to be called tuple_structs if added (to fit with our naming conventions)

@huonw
Copy link
Member

huonw commented Feb 8, 2015

I wonder if we can have experimental/feature-gated lints to allow staging lints into stability as with other language features.

@Manishearth
Copy link
Member

We should probably add a set of "internal" lint passes that are only used within compiler code.

A liblints that is only built during stage1 and run on stage2 code would work.

@edwardw edwardw closed this Feb 21, 2015
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.

5 participants