about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/messages.ftl
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-12-23 21:49:48 +0000
committerMichael Goulet <michael@errs.io>2024-12-23 22:15:32 +0000
commit92f93f6d1127cd8f2438474ebe4620231f5d5473 (patch)
treee2d9b672103b6cc9c6fb2fc6439beebe9e3d2ee2 /compiler/rustc_const_eval/messages.ftl
parentaddbd001ec56741829f20a3000892f8620dd0843 (diff)
downloadrust-92f93f6d1127cd8f2438474ebe4620231f5d5473.tar.gz
rust-92f93f6d1127cd8f2438474ebe4620231f5d5473.zip
Note def descr in NonConstFunctionCall
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 c31c94495d0..0c2242b810b 100644
--- a/compiler/rustc_const_eval/messages.ftl
+++ b/compiler/rustc_const_eval/messages.ftl
@@ -253,7 +253,7 @@ const_eval_non_const_fmt_macro_call =
     cannot call non-const formatting macro in {const_eval_const_context}s
 
 const_eval_non_const_fn_call =
-    cannot call non-const fn `{$def_path_str}` in {const_eval_const_context}s
+    cannot call non-const {$def_descr} `{$def_path_str}` in {const_eval_const_context}s
 
 const_eval_non_const_impl =
     impl defined here, but it is not `const`