Function rustc_trans::trans::adt::trans_caseExperimental
[-]
[+]
[src]
pub fn trans_case<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, r: &Repr, discr: Disr) -> OptResult<'blk, 'tcx>
Yield information about how to dispatch a case of the
discriminant-like value returned by trans_switch.
This should ideally be less tightly tied to _match.