{"ast_node_type":"function","tokens":[{"end":29,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn const_from_scalar(
    /// Since this is used to synthesize MIR, assumes `user_ty` is None.
        tcx: TyCtxt<'tcx>,