diff options
| author | Fabian Kunze | 2020-11-27 10:20:40 +0100 |
|---|---|---|
| committer | Fabian Kunze | 2020-11-27 10:20:40 +0100 |
| commit | ce8569a3713536e510381e4d49d534a447cfe637 (patch) | |
| tree | cc56e57ccbbd1c3424ac95bb183466070db746fc /vernac/comArguments.ml | |
| parent | 66429ecca2cc28875ec37b879806744bd3a63179 (diff) | |
Fix #13283: improved error on `clear implicit` flag
Diffstat (limited to 'vernac/comArguments.ml')
| -rw-r--r-- | vernac/comArguments.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vernac/comArguments.ml b/vernac/comArguments.ml index adf1f42beb..a21af12785 100644 --- a/vernac/comArguments.ml +++ b/vernac/comArguments.ml @@ -223,10 +223,10 @@ let vernac_arguments ~section_local reference args more_implicits flags = | _ -> true in if implicits_specified && clear_implicits_flag then - CErrors.user_err Pp.(str "The \"clear implicits\" flag is incompatible with implicit annotations"); + CErrors.user_err Pp.(str "The \"clear implicits\" flag must be omitted if implicit annotations are given."); if implicits_specified && default_implicits_flag then - CErrors.user_err Pp.(str "The \"default implicits\" flag is incompatible with implicit annotations"); + CErrors.user_err Pp.(str "The \"default implicits\" flag is incompatible with implicit annotations."); let rargs = Util.List.map_filter (function (n, true) -> Some n | _ -> None) |
