Skip to content

Mir: Trans of casts unimplemented #29576

Closed
@nikomatsakis

Description

@nikomatsakis

We need to support the various kinds of casts. This mostly involves looking at the old trans code for casts and porting it over to MIR, I imagine. The relevant unimplemented! is in trans/mir/rvalue.rs. Note that there are two: one for when trans'ing into a particular location (which would be used e.g. for casts to fat pointers) and one for when trans'ing into an Operand (e.g. for integer casts).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlE-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.T-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