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

Determine a meaningful way to test mut params in function bodies #20

Open
ErichDonGubler opened this issue Jul 18, 2017 · 0 comments
Open

Comments

@ErichDonGubler
Copy link
Owner

The mutability test in the current test harness seems satisfactory for testing the parsing of the mut keyword in the macro we've specified. However, the test bodies themselves don't seem very meaningful, since most params are unused and thus force allow(unused) to avoid warnings. I want to figure out how to write a test that doesn't give the warning that mut isn't necessary, but haven't figured out how to do so yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant