Skip to content

Commit 9a6ab0d

Browse files
Merge PR #16252: note since when the things recommended in a deprecation note are supported
Reviewed-by: ppedrot Co-authored-by: ppedrot <[email protected]>
2 parents e946e6f + 403e65b commit 9a6ab0d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tactics/autorewrite.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ let warn_deprecated_hint_rewrite_without_locality =
263263
without specifying an explicit locality attribute is therefore deprecated. It is \
264264
recommended to use \"export\" whenever possible. Use the attributes \
265265
#[local], #[global] and #[export] depending on your choice. For example: \
266-
\"#[export] Hint Rewrite foo : bar.\"")
266+
\"#[export] Hint Rewrite foo : bar.\" This is supported since Coq 8.14.")
267267

268268
let default_hint_rewrite_locality () =
269269
if Global.sections_are_opened () then Hints.Local

vernac/classes.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ let warn_deprecated_tc_transparency_without_locality =
4040
sections without specifying an explicit locality attribute is \
4141
therefore deprecated. It is recommended to use \"export\" whenever \
4242
possible. Use the attributes #[local], #[global] and #[export] \
43-
depending on your choice. For example: \"#[export] Typeclasses Transparent foo.\"")
43+
depending on your choice. For example: \"#[export] Typeclasses Transparent foo.\". \
44+
This is supported since Coq 8.15.")
4445

4546
let default_tc_transparency_locality () =
4647
if Global.sections_are_opened () then Hints.Local

0 commit comments

Comments
 (0)