about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/messages.ftl
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-06-27 12:47:47 +0200
committerRalf Jung <post@ralfj.de>2025-06-27 14:39:35 +0200
commited4f01ed2e033098f6c5e10a4a0cc740dc04f958 (patch)
tree15991ee4b0a5dfcd7d04ec09b2a48681ded67293 /compiler/rustc_const_eval/messages.ftl
parente61dd437f33b5a640e67dc3628397689c664c17f (diff)
downloadrust-ed4f01ed2e033098f6c5e10a4a0cc740dc04f958.tar.gz
rust-ed4f01ed2e033098f6c5e10a4a0cc740dc04f958.zip
const-eval: error when initializing a static writes to that static
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 97b154ad142..671ae5975a7 100644
--- a/compiler/rustc_const_eval/messages.ftl
+++ b/compiler/rustc_const_eval/messages.ftl
@@ -352,7 +352,7 @@ const_eval_realloc_or_alloc_with_offset =
         *[other] {""}
     } {$ptr} which does not point to the beginning of an object
 
-const_eval_recursive_static = encountered static that tried to initialize itself with itself
+const_eval_recursive_static = encountered static that tried to access itself during initialization
 
 const_eval_remainder_by_zero =
     calculating the remainder with a divisor of zero