Melange_compiler_libs.Builtin_attributesSupport for some of the builtin attributes
Warning: this module is unstable and part of compiler-libs.
val check_alerts : Location.t -> Parsetree.attributes -> string -> unitval check_alerts_inclusion : 
  def:Location.t ->
  use:Location.t ->
  Location.t ->
  Parsetree.attributes ->
  Parsetree.attributes ->
  string ->
  unitval alerts_of_attrs : Parsetree.attributes -> Misc.alertsval alerts_of_sig : Parsetree.signature -> Misc.alertsval alerts_of_str : Parsetree.structure -> Misc.alertsval check_deprecated_mutable : 
  Location.t ->
  Parsetree.attributes ->
  string ->
  unitval check_deprecated_mutable_inclusion : 
  def:Location.t ->
  use:Location.t ->
  Location.t ->
  Parsetree.attributes ->
  Parsetree.attributes ->
  string ->
  unitval check_no_alert : Parsetree.attributes -> unitval check_bs_attributes_inclusion : 
  (Parsetree.attributes ->
    Parsetree.attributes ->
    string ->
    (string * string) option)
    Stdlib.refval check_duplicated_labels : 
  (Parsetree.label_declaration list -> string Asttypes.loc option) Stdlib.refval error_of_extension : Parsetree.extension -> Location.errorval warning_attribute : ?ppwarning:bool -> Parsetree.attribute -> unitApply warning settings from the specified attribute. "ocaml.warning"/"ocaml.warnerror" (and variants without the prefix) are processed and other attributes are ignored.
Also implement ocaml.ppwarning (unless ~ppwarning:false is passed).
val warning_scope : 
  ?ppwarning:bool ->
  Parsetree.attributes ->
  (unit -> 'a) ->
  'aExecute a function in a new scope for warning settings. This means that the effect of any call to warning_attribute during the execution of this function will be discarded after execution.
The function also takes a list of attributes which are processed with warning_attribute in the fresh scope before the function is executed.
val warn_on_literal_pattern : Parsetree.attributes -> boolval explicit_arity : Parsetree.attributes -> boolval immediate : Parsetree.attributes -> boolval immediate64 : Parsetree.attributes -> boolval has_unboxed : Parsetree.attributes -> boolval has_boxed : Parsetree.attributes -> bool