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>2024-06-22 16:26:30 +0200
committerRalf Jung <post@ralfj.de>2024-06-22 17:39:01 +0200
commit763e3131cc05d9d9b036ce991cc948aefe2cb8ff (patch)
treeb728a78071c34b87cfbe991699344f9f83bc206b /compiler/rustc_const_eval/messages.ftl
parentd03d6c0fead582c98c6446ec92456ca8fd03ff65 (diff)
downloadrust-763e3131cc05d9d9b036ce991cc948aefe2cb8ff.tar.gz
rust-763e3131cc05d9d9b036ce991cc948aefe2cb8ff.zip
don't ICE when encountering an extern type field during validation
Diffstat (limited to 'compiler/rustc_const_eval/messages.ftl')
-rw-r--r--compiler/rustc_const_eval/messages.ftl2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_const_eval/messages.ftl b/compiler/rustc_const_eval/messages.ftl
index 1476fe285ef..cd269810741 100644
--- a/compiler/rustc_const_eval/messages.ftl
+++ b/compiler/rustc_const_eval/messages.ftl
@@ -89,6 +89,8 @@ const_eval_exact_div_has_remainder =
 
 const_eval_extern_static =
     cannot access extern static ({$did})
+const_eval_extern_type_field = `extern type` field does not have a known offset
+
 const_eval_fn_ptr_call =
     function pointers need an RFC before allowed to be called in {const_eval_const_context}s
 const_eval_for_loop_into_iter_non_const =