package ppx_disable_unused_warnings

  1. Overview
  2. Docs
Expands [@disable_unused_warnings] into [@warning "-20-26-32-33-34-35-36-37-38-39-60-66-67"]

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=af5dfa6bb51aa90f5c322ab4920fb46583cffc9460f583439afb2ef851310fbf

Description

Part of the Jane Street's PPX rewriters collection.

Published: 23 May 2024

README

ppx_disable_unused_warnings

The @disable_unused_warnings annotation disables the many OCaml compiler warnings having to do with something being used (variable, constructor, declaration, open, rec keyword, etc.). It can be used at all three annotation scopes:

  • [@@@disable_unused_warnings]

  • [@@disable_unused_warnings]

  • [@disable_unused_warnings]

As of OCaml 4.10, it translates [@disable_unused_warnings] to:

[@@@warning "-26-27-32-33-34-35-36-37-38-39-60-66-67"]

Dependencies (4)

  1. ppxlib >= "0.28.0"
  2. dune >= "3.11.0"
  3. base >= "v0.17" & < "v0.18"
  4. ocaml >= "5.1.0"

Dev Dependencies

None

Used by (1)

  1. ppx_jane >= "v0.17.0"

Conflicts

None

OCaml

Innovation. Community. Security.