Function rustc_trans::trans::adt::trans_set_discrExperimental
[-]
[+]
[src]
pub fn trans_set_discr<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, r: &Repr<'tcx>, val: ValueRef, discr: Disr)
Set the discriminant for a new value of the given case of the given representation.