File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,9 @@ marks an item as stabilized. Note that stable functions may use unstable things
51
51
52
52
The ` #[rustc_const_unstable(feature = "foo", issue = "1234", reason = "lorem ipsum")] `
53
53
has the same interface as the ` unstable ` attribute. It is used to mark
54
- ` const fn ` as having their constness be unstable. This allows you to make a
55
- function stable without stabilizing its constness or even just marking an existing
56
- stable function as ` const fn ` without instantly stabilizing the ` const fn ` ness .
54
+ ` const fn ` as having their constness be unstable. Every function that is eventually intended
55
+ to become const- stable should carry this attribute, no matter whether it is ` #[stable] `
56
+ or ` #[unstable] ` .
57
57
58
58
Furthermore this attribute is needed to mark an intrinsic as ` const fn ` , because
59
59
there's no way to add ` const ` to functions in ` extern ` blocks for now.
You can’t perform that action at this time.
0 commit comments