Closed
Description
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).