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

Get rid of unused SimpleVisitor stuff. #9187

Closed
wants to merge 1 commit into from

Conversation

lkuper
Copy link
Contributor

@lkuper lkuper commented Sep 14, 2013

We don't seem to be using SimpleVisitor anywhere in rustc. Is there any reason to keep it around?

r? anyone

@lkuper
Copy link
Contributor Author

lkuper commented Sep 14, 2013

(cc #7081)

bors added a commit that referenced this pull request Sep 16, 2013
We don't seem to be using `SimpleVisitor` anywhere in rustc.  Is there any reason to keep it around?

r? anyone
@bors bors closed this Sep 16, 2013
Jarcho pushed a commit to Jarcho/rust that referenced this pull request Aug 29, 2022
Add lint recommending using `std::iter::once` and `std::iter::empty`

```
changelog: [`iter_once`]: add new lint
changelog: [`iter_empty`]: add new lint
```

fixes rust-lang#9186

- \[ ] Followed [lint naming conventions][lint_naming]
- \[x] Added passing UI tests (including committed `.stderr` file)
- \[x] `cargo test` passes locally
- \[x] Executed `cargo dev update_lints`
- \[x] Added lint documentation
- \[x] Run `cargo dev fmt`

[lint_naming]: https://rust-lang.github.io/rfcs/0344-conventions-galore.html#lints

The lint doesn't really follow the naming conventions. I don't have any better idea so I'm open to suggestions.
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.

3 participants