UserWarn
This is about warnings triggered from user .v code ("warn" attibute). See cWarnings.mli for the generic warning interface.
val is_empty : t -> bool
val is_empty_qf : _ with_qf -> bool
val empty : t
val make_warn : note:string -> ?cats:string -> unit -> warn
val create_warning : ?default:CWarnings.status -> warning_name_if_no_cats:string -> unit -> ?loc:Loc.t ->
warn -> unit
val create_depr_and_user_warnings : ?default:CWarnings.status -> object_name:string ->
warning_name_base:string -> ('a -> Pp.t) -> unit -> ?loc:Loc.t -> 'a -> t -> unit
val create_depr_and_user_warnings_qf : ?default:CWarnings.status -> object_name:string ->
warning_name_base:string -> pp_qf:('qf -> Pp.t) -> ('a -> Pp.t) -> unit -> ?loc:Loc.t -> 'a -> 'qf with_qf -> unit