Function rustc_const_eval::const_eval::try_destructure_const
source · [−]pub(crate) fn try_destructure_const<'tcx>(
tcx: TyCtxt<'tcx>,
const_: Const<'tcx>
) -> Option<DestructuredConst<'tcx>>Expand description
Tries to destructure constants of type Array or Adt into the constants of its fields.