about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/messages.ftl
diff options
context:
space:
mode:
authorDeadbeef <ent3rm4n@gmail.com>2025-01-25 21:43:00 +0800
committerDeadbeef <ent3rm4n@gmail.com>2025-01-25 21:43:22 +0800
commit626d3ba5145ee01c777890b8880599c61c916689 (patch)
tree0e564835238e070c861c0b795ec5cf4ce4a5de6a /compiler/rustc_const_eval/messages.ftl
parentf94018810c6c0f59df013c9c418e994b94cf1805 (diff)
downloadrust-626d3ba5145ee01c777890b8880599c61c916689.tar.gz
rust-626d3ba5145ee01c777890b8880599c61c916689.zip
Fix typo in const stability error message
Diffstat (limited to 'compiler/rustc_const_eval/messages.ftl')
-rw-r--r--compiler/rustc_const_eval/messages.ftl2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/messages.ftl b/compiler/rustc_const_eval/messages.ftl
index d4bfb781320..485c8696342 100644
--- a/compiler/rustc_const_eval/messages.ftl
+++ b/compiler/rustc_const_eval/messages.ftl
@@ -416,7 +416,7 @@ const_eval_unsized_local = unsized locals are not supported
 const_eval_unstable_const_fn = `{$def_path}` is not yet stable as a const fn
 const_eval_unstable_in_stable_exposed =
     const function that might be (indirectly) exposed to stable cannot use `#[feature({$gate})]`
-    .is_function_call = mark the callee as `#[rustc_const_stable_indirect]` if it does not itself require any unsafe features
+    .is_function_call = mark the callee as `#[rustc_const_stable_indirect]` if it does not itself require any unstable features
     .unstable_sugg = if the {$is_function_call2 ->
             [true] caller
             *[false] function