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

Silence uint warns #660

Open
pmarangone opened this issue Aug 11, 2022 · 2 comments · Fixed by #707
Open

Silence uint warns #660

pmarangone opened this issue Aug 11, 2022 · 2 comments · Fixed by #707

Comments

@pmarangone
Copy link

Hello! I'm having a hard time silencing the warns from uint initialization. I tried adding allow = ["clippy::ptr_offset_with_cast"] to .clippy.toml but this hides another warns from the code. If you guys could suggest a solution to this. Also, if this is more an issue with rust-clippy, no problem, I can move this issue there.

image

@ordian
Copy link
Member

ordian commented Aug 14, 2022

Hey @pmarangone, the ideal way to resolve this would be to:

  1. Figure out which clippy warnings are legitimate and fix them in uint. (medium)
  2. Put an ignoring attribute on the rest in uint (easy)
  3. Add CI clippy check (easy)

@ordian
Copy link
Member

ordian commented Feb 1, 2023

CI check is missing

@ordian ordian reopened this Feb 1, 2023
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.

2 participants