Skip to content

Some more niche casting combinations are not handled correctly #2012

Open

Description

@Rua
  • Bool → LongDouble/Float128: Into<f128> not implemented for bool.
  • Enum → LongDouble/Float128: Into<f128> not implemented for (enum type).
  • LongDouble/Float128 → Enum: panics in f128_cast_to.
  • Enum → function pointer: non-primitive cast (enum type) as isize.
  • function pointer → any non-pointer-sized type: transmute between different sized types.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions