{"ast_node_type":"function","tokens":[{"end":77,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn from_scalar(_tcx: TyCtxt<'tcx>, s: Scalar, ty: Ty<'tcx>) -> Self {
    #[inline]
        let val = ConstValue::Scalar(s);