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

Remove newtype enums from the compiler #4966

Closed
bstrie opened this issue Feb 15, 2013 · 0 comments
Closed

Remove newtype enums from the compiler #4966

bstrie opened this issue Feb 15, 2013 · 0 comments
Labels
A-type-system Area: Type system C-cleanup Category: PRs that clean code up or issues documenting cleanup. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Milestone

Comments

@bstrie
Copy link
Contributor

bstrie commented Feb 15, 2013

git grep "enum .* = .*;" to find them. Convert these to newtype structs and then remove them from the compiler completely.

@bstrie bstrie closed this as completed Mar 21, 2013
bors added a commit to rust-lang-ci/rust that referenced this issue May 2, 2020
New Lint: Iter nth zero

Check for the use of `iter.nth(0)` and encourage `iter.next()` instead as it is more readable

changelog: add new lint when `iter.nth(0)` is used

Fixes rust-lang#4957
calebcartwright pushed a commit to calebcartwright/rust that referenced this issue Nov 8, 2021
* Add Together option to group_imports

* Rename option to One

* Rename files from Together to One
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-type-system Area: Type system C-cleanup Category: PRs that clean code up or issues documenting cleanup. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

1 participant