Skip to content

Conversation

emberian
Copy link
Contributor

No description provided.

@brson
Copy link
Contributor

brson commented May 19, 2013

Needs rebase! 👾

bors added a commit that referenced this pull request May 19, 2013
@bors bors closed this May 19, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 11, 2021
…msteffen

Fix false positive for unit_arg lint

Fixes rust-lang#6447

To avoid false positives don't complain about unit args when they come from a path expression, e.g. a local variable.

**Note:** This is my first contribution to Clippy, so I might have messed up somewhere. Any feedback is welcome and I'm happy to work out any kinks.

---

changelog: Do not lint unit arguments when they come from a path expression.
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