Function rustc::middle::trans::adt::trans_set_discrExperimental [-]  [+] [src]

pub fn trans_set_discr(bcx: Block, r: &Repr, val: ValueRef, discr: Disr)

Set the discriminant for a new value of the given case of the given representation.