Skip to content

Commit d4a7c12

Browse files
committed
revert incorrect test change
1 parent aeb9811 commit d4a7c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/consts/min_const_fn/min_const_fn_libstd_stability.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ error: const function that might be (indirectly) exposed to stable cannot use `#
2222
LL | const fn bar2() -> u32 { foo2() }
2323
| ^^^^^^
2424
|
25-
= help: mark the callee as `#` if it does not itself require any unstable features
25+
= help: mark the callee as `#[rustc_const_stable_indirect]` if it does not itself require any unstable features
2626
help: 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
|
2828
LL + #[rustc_const_unstable(feature = "...", issue = "...")]

0 commit comments

Comments
 (0)