From 9c05fc4c31edde34a68317b45fdd71510d868f60 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Fri, 29 Sep 2017 23:29:47 -0400 Subject: user-guide: Document -Weverything [skip ci] Reviewers: hvr, austin, dfeuer Reviewed By: dfeuer Subscribers: rwbarton, thomie GHC Trac Issues: #14284 Differential Revision: https://phabricator.haskell.org/D4043 --- docs/users_guide/using-warnings.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst index 39d7de4147..15b6301ab9 100644 --- a/docs/users_guide/using-warnings.rst +++ b/docs/users_guide/using-warnings.rst @@ -79,6 +79,13 @@ The following flags are simple ways to select standard "packages" of warnings: * :ghc-flag:`-Widentities` * :ghc-flag:`-Wredundant-constraints` +.. ghc-flag:: -Weverything + :shortdesc: enable all warnings supported by GHC + :type: dynamic + :category: + + Turns on every single warning supported by the compiler. + .. ghc-flag:: -Wcompat :shortdesc: enable future compatibility warnings (details in :ref:`options-sanity`) -- cgit v1.2.1