diff options
author | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2022-02-21 02:09:49 +0100 |
---|---|---|
committer | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2022-02-22 00:12:49 +0100 |
commit | 427dd81a580c0bb27e1e0251f605896dae1d7c84 (patch) | |
tree | 189c31c43e5dfb97c08462764057cac30dfda0fe /docs/users_guide/using-warnings.rst | |
parent | 6b468f7f6185e68ccdea547beb090092b77cf87e (diff) | |
download | haskell-wip/encourage-unticked.tar.gz |
Remove -Wunticked-promoted-constructors from -Wallwip/encourage-unticked
Update manual; explain ticks as optional disambiguation
rather than the preferred default.
This is a part of #20531.
Diffstat (limited to 'docs/users_guide/using-warnings.rst')
-rw-r--r-- | docs/users_guide/using-warnings.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst index 3a2b4d5c84..5b0093b650 100644 --- a/docs/users_guide/using-warnings.rst +++ b/docs/users_guide/using-warnings.rst @@ -127,6 +127,7 @@ The following flags are simple ways to select standard "packages" of warnings: * :ghc-flag:`-Wsafe` * :ghc-flag:`-Wimplicit-lift` * :ghc-flag:`-Wmissing-kind-signatures` + * :ghc-flag:`-Wunticked-promoted-constructors` .. ghc-flag:: -Weverything :shortdesc: enable all warnings supported by GHC @@ -1649,8 +1650,6 @@ of ``-W(no-)*``. Will raise two warnings because ``Zero`` and ``Succ`` are not written as ``'Zero`` and ``'Succ``. - This warning is enabled by default in :ghc-flag:`-Wall` mode. - .. ghc-flag:: -Wunused-binds :shortdesc: warn about bindings that are unused. Alias for :ghc-flag:`-Wunused-top-binds`, :ghc-flag:`-Wunused-local-binds` and |