aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEnrico Tassi2018-09-10 11:21:50 +0200
committerEnrico Tassi2018-09-10 11:21:50 +0200
commit2652465711423b0b332cfbb5f74145c48b53be1e (patch)
treeaea2a6163e5c8519c30f77fcfd781902285ff562 /doc
parent69fb545f0fad2b356f5be1ce3e1a24b5afe26ce2 (diff)
parent72da3cc8c5cf607c9c461491760837de2161123e (diff)
Merge PR #8104: Warnings on coercions used without being Imported
Diffstat (limited to 'doc')
-rw-r--r--doc/sphinx/addendum/implicit-coercions.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/sphinx/addendum/implicit-coercions.rst b/doc/sphinx/addendum/implicit-coercions.rst
index c0c4539564..23cbd76eda 100644
--- a/doc/sphinx/addendum/implicit-coercions.rst
+++ b/doc/sphinx/addendum/implicit-coercions.rst
@@ -325,6 +325,12 @@ Coercions and Modules
This option makes it possible to recover the behavior of the versions of
|Coq| prior to 8.3.
+.. warn:: Coercion used but not in scope: @qualid. If you want to use this coercion, please Import the module that contains it.
+
+ This warning is emitted when typechecking relies on a coercion
+ contained in a module that has not been explicitely imported. It helps
+ migrating code and stop relying on the option above.
+
Examples
--------