aboutsummaryrefslogtreecommitdiff
path: root/vernac/himsg.ml
diff options
context:
space:
mode:
Diffstat (limited to 'vernac/himsg.ml')
-rw-r--r--vernac/himsg.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/vernac/himsg.ml b/vernac/himsg.ml
index bff0359782..21a25ab78c 100644
--- a/vernac/himsg.ml
+++ b/vernac/himsg.ml
@@ -924,7 +924,9 @@ let explain_not_match_error = function
| InductiveFieldExpected _ ->
strbrk "an inductive definition is expected"
| DefinitionFieldExpected ->
- strbrk "a definition is expected"
+ strbrk "a definition is expected. Hint: you can rename the \
+ inductive or constructor and add a definition mapping the \
+ old name to the new name"
| ModuleFieldExpected ->
strbrk "a module is expected"
| ModuleTypeFieldExpected ->