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

proptest! macro generates clippy warnings #371

Closed
SUPERCILEX opened this issue Sep 12, 2023 · 3 comments · Fixed by #397
Closed

proptest! macro generates clippy warnings #371

SUPERCILEX opened this issue Sep 12, 2023 · 3 comments · Fixed by #397

Comments

@SUPERCILEX
Copy link

warning: matching over `()` is more explicit
   --> vecs/src/freestanding_vec.rs:406:5
    |
406 | /     proptest! {
407 | |         #[test]
408 | |         #[cfg(not(miri))]
409 | |         fn all(path: Vec<Path>) {
...   |
445 | |         }
446 | |     }
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns
    = note: this warning originates in the macro `$crate::proptest_helper` which comes from the expansion of the macro `proptest` (in Nightly builds, run with -Z macro-backtrace for more info)

@andrewbanchich
Copy link

Looks like this was fixed in this commit. @matthew-russo would you be able to make a release with this fix sometime soon?

@matthew-russo
Copy link
Member

i'll try to get a release out this week after we merge some pending PRs

@andrewbanchich
Copy link

Thanks!

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 a pull request may close this issue.

3 participants