summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakenobu Tani <takenobu.hs@gmail.com>2019-04-27 20:54:21 +0900
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-05-21 16:54:00 -0400
commit54095bbd3a5481e906b05c80ea68841165c7a2b3 (patch)
treec2d9e2423e92ca97e34d5d9dcbb3f0b292797705
parentb46efa2bbf86cf0673d0d6dfd5c40b2b0db5f9ff (diff)
downloadhaskell-54095bbd3a5481e906b05c80ea68841165c7a2b3.tar.gz
users-guide: Fix directive errors on 8.10
The following sections are not displayed due to a directive error: * -Wunused-record-wildcards * -Wredundant-record-wildcards I changed the location of the `since` directive. [skip ci]
-rw-r--r--docs/users_guide/using-warnings.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst
index b0f8c843b9..8c0da9162e 100644
--- a/docs/users_guide/using-warnings.rst
+++ b/docs/users_guide/using-warnings.rst
@@ -1545,10 +1545,11 @@ of ``-W(no-)*``.
:shortdesc: Warn about record wildcard matches when none of the bound variables
are used.
:type: dynamic
- :since: 8.10.1
:reverse: -Wno-unused-record-wildcards
:category:
+ :since: 8.10.1
+
.. index::
single: unused, warning, record wildcards
@@ -1566,10 +1567,11 @@ of ``-W(no-)*``.
.. ghc-flag:: -Wredundant-record-wildcards
:shortdesc: Warn about record wildcard matches when the wildcard binds no patterns.
:type: dynamic
- :since: 8.10.1
:reverse: -Wno-redundant-record-wildcards
:category:
+ :since: 8.10.1
+
.. index::
single: unused, warning, record wildcards