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

librustc: Forbid enum-to-float casts. #14874

Merged
merged 1 commit into from
Jun 14, 2014

Conversation

pcwalton
Copy link
Contributor

Closes #14794.

If you're casting from an enum to a float, cast through an integer
first.

[breaking-change]

r? @alexcrichton

Closes rust-lang#14794.

If you're casting from an enum to a float, cast through an integer
first.

[breaking-change]
bors added a commit that referenced this pull request Jun 14, 2014
…=alexcrichton

Closes #14794.

If you're casting from an enum to a float, cast through an integer
first.

[breaking-change]

r? @alexcrichton
@bors bors closed this Jun 14, 2014
@bors bors merged commit 30772d9 into rust-lang:master Jun 14, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 5, 2023
expand: Change how `#![cfg(FALSE)]` behaves on crate root

Closes rust-lang/rust-analyzer#14769
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 this pull request may close these issues.

Remove enum -> float casts
3 participants