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

Propose fix for cast_sign_loss and cast_possible_wrap #14150

Open
Rua opened this issue Feb 5, 2025 · 0 comments
Open

Propose fix for cast_sign_loss and cast_possible_wrap #14150

Rua opened this issue Feb 5, 2025 · 0 comments

Comments

@Rua
Copy link
Contributor

Rua commented Feb 5, 2025

Description

The integer_sign_cast API is about to be stabilised:
rust-lang/rust#125882

This means that clippy can then propose these functions as a fix for the cast_sign_loss and cast_possible_wrap lints.

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