Function clippy_utils::consts::miri_to_const
source · pub fn miri_to_const<'tcx>(
tcx: TyCtxt<'tcx>,
result: ConstantKind<'tcx>
) -> Option<Constant>
pub fn miri_to_const<'tcx>(
tcx: TyCtxt<'tcx>,
result: ConstantKind<'tcx>
) -> Option<Constant>