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

Explicit overflow behavior #23

Open
1 of 3 tasks
killercup opened this issue Mar 20, 2021 · 0 comments
Open
1 of 3 tasks

Explicit overflow behavior #23

killercup opened this issue Mar 20, 2021 · 0 comments

Comments

@killercup
Copy link
Member

killercup commented Mar 20, 2021

We can use #![deny(clippy::integer_arithmetic)] to make all overflow handling explicit.

  • add lints to generated code
  • return errors on overflow or decide why not
  • add lints to library code
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