summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Winant <dewinant@gmail.com>2021-03-22 11:14:33 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-06-04 00:30:22 -0400
commit1bb0565ce8a04cc1c9f247a9f1512af25c4b5b6a (patch)
tree51704f0165bf060715b56ae3fbbdc3e2f22f2f2a
parent7a05185a2b73c1f1c37e003178ea49667f66a462 (diff)
downloadhaskell-1bb0565ce8a04cc1c9f247a9f1512af25c4b5b6a.tar.gz
Fix incorrect mention of -Wprepositive-qualified-syntax in docs
The flag is called `-Wprepositive-qualified-module`, not `-Wprepositive-qualified-syntax`. Use the `:ghc-flag:` syntax, which would have caught the mistake in the first place.
-rw-r--r--docs/users_guide/exts/import_qualified_post.rst4
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/users_guide/exts/import_qualified_post.rst b/docs/users_guide/exts/import_qualified_post.rst
index a9b0b6acca..2adf2849e5 100644
--- a/docs/users_guide/exts/import_qualified_post.rst
+++ b/docs/users_guide/exts/import_qualified_post.rst
@@ -28,6 +28,4 @@ The ``ImportQualifiedPost`` extension allows ``qualified`` to appear in postposi
It is an error if ``qualified`` appears in both pre and postpositive positions.
-The warning ``-Wprepositive-qualified-syntax`` (off by default) reports on any occurrences of imports annotated ``qualified`` using prepositive syntax.
-
-
+The warning :ghc-flag:`-Wprepositive-qualified-module` (off by default) reports on any occurrences of imports annotated ``qualified`` using prepositive syntax.