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.
fn destructure_const<'tcx>(
tcx: TyCtxt<'tcx>,
const_: Const<'tcx>,
) -> DestructuredConst<'tcx>
Destructures array, ADT or tuple constants into the constants of their fields.