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>2025-03-20 03:21:58 +0000
committerMichael Goulet <michael@errs.io>2025-03-20 03:22:46 +0000
commite6004ccb50880f9667015eea2f3d90f30517abd1 (patch)
tree524645ff6e78aa2f83df317688060713a2b1fe73 /compiler/rustc_const_eval/messages.ftl
parent2947be7af8732d1c298a15030325cc50c8910061 (diff)
downloadrust-e6004ccb50880f9667015eea2f3d90f30517abd1.tar.gz
rust-e6004ccb50880f9667015eea2f3d90f30517abd1.zip
Use def_path_str for def id arg in UnsupportedOpInfo
Diffstat (limited to 'compiler/rustc_const_eval/messages.ftl')
-rw-r--r--compiler/rustc_const_eval/messages.ftl4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_const_eval/messages.ftl b/compiler/rustc_const_eval/messages.ftl
index ccf9b240d40..dd481e04abb 100644
--- a/compiler/rustc_const_eval/messages.ftl
+++ b/compiler/rustc_const_eval/messages.ftl
@@ -93,7 +93,7 @@ const_eval_expected_inbounds_pointer =
     }
 
 const_eval_extern_static =
-    cannot access extern static ({$did})
+    cannot access extern static `{$did}`
 const_eval_extern_type_field = `extern type` field does not have a known offset
 
 const_eval_fn_ptr_call =
@@ -381,7 +381,7 @@ const_eval_thread_local_access =
     thread-local statics cannot be accessed at compile-time
 
 const_eval_thread_local_static =
-    cannot access thread local static ({$did})
+    cannot access thread local static `{$did}`
 const_eval_too_generic =
     encountered overly generic constant
 const_eval_too_many_caller_args =