Function rustc_ty_utils::consts::destructure_const

source ยท
fn destructure_const<'tcx>(
    tcx: TyCtxt<'tcx>,
    const_: Const<'tcx>,
) -> DestructuredConst<'tcx>
Expand description

Destructures array, ADT or tuple constants into the constants of their fields.