Skip to content

Clarify cast rules (tracking issue for RFC 1052) #26391

Closed
@nikomatsakis

Description

@nikomatsakis

Much of the implementation work for rust-lang/rfcs#1052 has been done, but there remain some corner cases to fix:

  • Casts between raw pointers to different traits are accepted but should not be (e.g. http://is.gd/1jCOSz)
  • Double-check other cases, ensure adequate tests exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    P-highHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions