aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx
diff options
context:
space:
mode:
authorHugo Herbelin2020-01-19 19:11:58 +0100
committerHugo Herbelin2020-01-19 19:11:58 +0100
commit2ae084f55c2e9bce3023a25a1e2c7a70dadcf348 (patch)
tree9a3b7a26e79d80764533ce9618d03a0eb35347f5 /doc/sphinx
parentc4de7eb4a4e470864ecd06bb240a3f572d7d84d7 (diff)
parentb9f3e03dd07e678ce900f332cf4653c5d222ee16 (diff)
Merge PR #11368: Turn trailing implicit warning into an error
Ack-by: Zimmi48 Reviewed-by: herbelin Ack-by: maximedenes
Diffstat (limited to 'doc/sphinx')
-rw-r--r--doc/sphinx/language/gallina-extensions.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/sphinx/language/gallina-extensions.rst b/doc/sphinx/language/gallina-extensions.rst
index bdfdffeaad..510e271951 100644
--- a/doc/sphinx/language/gallina-extensions.rst
+++ b/doc/sphinx/language/gallina-extensions.rst
@@ -1728,11 +1728,11 @@ Declaring Implicit Arguments
To know which are the implicit arguments of an object, use the
command :cmd:`Print Implicit` (see :ref:`displaying-implicit-args`).
-.. warn:: Argument number @num is a trailing implicit so must be maximal.
+.. exn:: Argument @ident is a trailing implicit, so it can't be declared non maximal. Please use %{ %} instead of [ ].
For instance in
- .. coqtop:: all warn
+ .. coqtop:: all fail
Arguments prod _ [_].