type old_location_error = {loc : Location.t;msg : string;sub : old_location_error list;if_highlight : string;
}type location_report_kind = Location.report_kind = | Report_error| Report_warning of string| Report_warning_as_error of string| Report_alert of string| Report_alert_as_error of string
type location_error = Location.errorval extension_of_error :
mk_pstr:('a list -> 'b) ->
mk_extension:((string Location.loc * 'b) -> 'a) ->
mk_string_constant:(string -> 'a) ->
location_error ->
string Location.loc * 'bval register_error_of_exn : (exn -> Location.error option) -> unitval make_error_of_message_old :
loc:Location.t ->
string ->
sub:(Location.t * string) list ->
old_location_errorval make_error_of_message_new :
loc:Location.t ->
string ->
sub:(Location.t * string) list ->
location_reportval make_error_of_message :
loc:Location.t ->
string ->
sub:(Location.t * string) list ->
location_report