diff options
| author | Ralf Jung <post@ralfj.de> | 2024-08-25 13:50:07 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-08-25 13:50:55 +0200 |
| commit | ba24121ad6fef48793b6069e68a65a5a491272ef (patch) | |
| tree | bc6d2ce263a4b4fd322c1f99a62f05bfbcd4852c /compiler/rustc_const_eval/messages.ftl | |
| parent | 717aec0f8eebdc5eb51756e5129dde15e8b25710 (diff) | |
| download | rust-ba24121ad6fef48793b6069e68a65a5a491272ef.tar.gz rust-ba24121ad6fef48793b6069e68a65a5a491272ef.zip | |
tweak rustc_allow_const_fn_unstable hint, and add back test for stable-const-can-only-call-stable-const
Diffstat (limited to 'compiler/rustc_const_eval/messages.ftl')
| -rw-r--r-- | compiler/rustc_const_eval/messages.ftl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/messages.ftl b/compiler/rustc_const_eval/messages.ftl index 1442f1832b9..d7d64180ec9 100644 --- a/compiler/rustc_const_eval/messages.ftl +++ b/compiler/rustc_const_eval/messages.ftl @@ -419,7 +419,7 @@ const_eval_unstable_const_fn = `{$def_path}` is not yet stable as a const fn const_eval_unstable_in_stable = const-stable function cannot use `#[feature({$gate})]` .unstable_sugg = if it is not part of the public API, make this function unstably const - .bypass_sugg = otherwise `#[rustc_allow_const_fn_unstable]` can be used to bypass stability checks + .bypass_sugg = otherwise `#[rustc_allow_const_fn_unstable]` can be used to bypass stability checks (but requires team approval) const_eval_unterminated_c_string = reading a null-terminated string starting at {$pointer} with no null found before end of allocation |
