Skip to content

False positive: similar_names gets confused by macro param names #3050

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

Closed
illicitonion opened this issue Aug 14, 2018 · 2 comments
Closed

False positive: similar_names gets confused by macro param names #3050

illicitonion opened this issue Aug 14, 2018 · 2 comments

Comments

@illicitonion
Copy link
Contributor

Here's a minimal playground link: https://play.rust-lang.org/?gist=a1333019fbad19ebeb92f00abd6a0e64&version=nightly&mode=debug&edition=2015

The variable needs to specifically called args (arg is fine),

Possibly a duplicate of #2651 and/or #2927

@flip1995
Copy link
Member

Yep dup of #2927. Thanks for reminding!

@ghost
Copy link

ghost commented Aug 15, 2018

Thanks for the minimal example.

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

No branches or pull requests

2 participants