@@ -4,7 +4,7 @@ error: const function that might be (indirectly) exposed to stable cannot use `#
44LL | const fn bar() -> u32 { foo() }
55   |                         ^^^^^
66   |
7-    = help: mark the callee as `#[rustc_const_stable_indirect]` if it does not itself require any unsafe  features
7+    = help: mark the callee as `#[rustc_const_stable_indirect]` if it does not itself require any unstable  features
88help: if the caller is not (yet) meant to be exposed to stable, add `#[rustc_const_unstable]` (this is what you probably want to do)
99   |
1010LL + #[rustc_const_unstable(feature = "...", issue = "...")]
@@ -22,7 +22,7 @@ error: const function that might be (indirectly) exposed to stable cannot use `#
2222LL | const fn bar2() -> u32 { foo2() }
2323   |                          ^^^^^^
2424   |
25-    = help: mark the callee as `#[rustc_const_stable_indirect]` if it does not itself require any unsafe  features
25+    = help: mark the callee as `#[rustc_const_stable_indirect]` if it does not itself require any unstable  features
2626help: if the caller is not (yet) meant to be exposed to stable, add `#[rustc_const_unstable]` (this is what you probably want to do)
2727   |
2828LL + #[rustc_const_unstable(feature = "...", issue = "...")]
@@ -57,7 +57,7 @@ error: const function that might be (indirectly) exposed to stable cannot use `#
5757LL |     foo()
5858   |     ^^^^^
5959   |
60-    = help: mark the callee as `#[rustc_const_stable_indirect]` if it does not itself require any unsafe  features
60+    = help: mark the callee as `#[rustc_const_stable_indirect]` if it does not itself require any unstable  features
6161help: if the caller is not (yet) meant to be exposed to stable, add `#[rustc_const_unstable]` (this is what you probably want to do)
6262   |
6363LL + #[rustc_const_unstable(feature = "...", issue = "...")]
@@ -75,7 +75,7 @@ error: const function that might be (indirectly) exposed to stable cannot use `#
7575LL | const fn bar2_gated() -> u32 { foo2_gated() }
7676   |                                ^^^^^^^^^^^^
7777   |
78-    = help: mark the callee as `#[rustc_const_stable_indirect]` if it does not itself require any unsafe  features
78+    = help: mark the callee as `#[rustc_const_stable_indirect]` if it does not itself require any unstable  features
7979help: if the caller is not (yet) meant to be exposed to stable, add `#[rustc_const_unstable]` (this is what you probably want to do)
8080   |
8181LL + #[rustc_const_unstable(feature = "...", issue = "...")]
@@ -93,7 +93,7 @@ error: const function that might be (indirectly) exposed to stable cannot use `#
9393LL |     pub(crate) const fn bar2_gated_stable_indirect() -> u32 { super::foo2_gated() }
9494   |                                                               ^^^^^^^^^^^^^^^^^^^
9595   |
96-    = help: mark the callee as `#[rustc_const_stable_indirect]` if it does not itself require any unsafe  features
96+    = help: mark the callee as `#[rustc_const_stable_indirect]` if it does not itself require any unstable  features
9797help: if the caller is not (yet) meant to be exposed to stable, add `#[rustc_const_unstable]` (this is what you probably want to do)
9898   |
9999LL +     #[rustc_const_unstable(feature = "...", issue = "...")]
@@ -111,7 +111,7 @@ error: const function that might be (indirectly) exposed to stable cannot use `#
111111LL | const fn stable_indirect() -> u32 { foo2_gated() }
112112   |                                     ^^^^^^^^^^^^
113113   |
114-    = help: mark the callee as `#[rustc_const_stable_indirect]` if it does not itself require any unsafe  features
114+    = help: mark the callee as `#[rustc_const_stable_indirect]` if it does not itself require any unstable  features
115115help: if the caller is not (yet) meant to be exposed to stable, add `#[rustc_const_unstable]` (this is what you probably want to do)
116116   |
117117LL + #[rustc_const_unstable(feature = "...", issue = "...")]
0 commit comments