| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | (** This module provides functions to explain the type errors. *) |
| 12 | |
| 13 | (* Used by equations *) |
| 14 | val explain_type_error : Environ.env -> Evd.evar_map -> Pretype_errors.type_error -> Pp.t |
| 15 | |
| 16 | val explain_pretype_error : Environ.env -> Evd.evar_map -> Pretype_errors.pretype_error -> Pp.t |
| 17 | |
| 18 | val explain_refiner_error : Environ.env -> Evd.evar_map -> Logic.refiner_error -> Pp.t |
| 19 | |
| 20 | val explain_not_guarded : Environ.env -> Evd.evar_map -> |
| 21 | (Environ.env * int * EConstr.t Type_errors.pcofix_guard_error) option -> |
| 22 | (Environ.env * int * int list * EConstr.t Type_errors.pfix_guard_error) list -> |
| 23 | EConstr.rec_declaration -> Pp.t |