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

minor test suite issues in libquickcheck #14097

Closed
huonw opened this issue May 10, 2014 · 1 comment
Closed

minor test suite issues in libquickcheck #14097

huonw opened this issue May 10, 2014 · 1 comment

Comments

@huonw
Copy link
Member

huonw commented May 10, 2014

  • in quickcheck::arbitrary::results, "Result<A, B> doesn't implement the Hash trait, so these tests depends on the order of shrunk results. Ug."
  • In quickcheck::arbitrary::int, "Test overflow?"
@huonw
Copy link
Member Author

huonw commented May 26, 2014

Quickcheck didn't land.

@huonw huonw closed this as completed May 26, 2014
flip1995 pushed a commit to flip1995/rust that referenced this issue Feb 6, 2025
…ust-lang#14115)

Commit 2550530 has extended the
`precedence` lint to include bitmasking and shift operations. The lint
is warn by default, and this generates many hits, especially in embedded
or system code, where it is very idiomatic to use expressions such as `1
<< 3 | 1 << 5` without parentheses.

This commit splits the recent addition into a new lint, which is put
into the "restriction" category, while the original one stays in
"complexity", because mixing bitmasking and arithmetic operations is
less typical.

Fix rust-lang#14097

changelog: [`precedence_bits`]: new lint
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

1 participant