flux_rustc_bridge::const_eval

Function scalar_to_bits

Source
pub fn scalar_to_bits<'tcx>(
    tcx: TyCtxt<'tcx>,
    scalar: ScalarInt,
    ty: Ty<'tcx>,
) -> Option<u128>