about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/messages.ftl
diff options
context:
space:
mode:
authorDavid Wood <david.wood2@arm.com>2025-06-27 16:46:29 +0000
committerDavid Wood <david.wood2@arm.com>2025-06-27 17:01:47 +0000
commit2057423506ea08f35d05f067a2ffe73579afac12 (patch)
tree4762727739f4a70152dda8e6a099310f9f8028f7 /compiler/rustc_hir_analysis/messages.ftl
parent13c46fd0b089360922a557d8e18a63a2c41dfbeb (diff)
downloadrust-2057423506ea08f35d05f067a2ffe73579afac12.tar.gz
rust-2057423506ea08f35d05f067a2ffe73579afac12.zip
hir_analysis: prohibit `dyn PointeeSized`
Diffstat (limited to 'compiler/rustc_hir_analysis/messages.ftl')
-rw-r--r--compiler/rustc_hir_analysis/messages.ftl3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_hir_analysis/messages.ftl b/compiler/rustc_hir_analysis/messages.ftl
index 4ec2bbfc5ab..529d3578985 100644
--- a/compiler/rustc_hir_analysis/messages.ftl
+++ b/compiler/rustc_hir_analysis/messages.ftl
@@ -447,6 +447,9 @@ hir_analysis_parenthesized_fn_trait_expansion =
 
 hir_analysis_placeholder_not_allowed_item_signatures = the placeholder `_` is not allowed within types on item signatures for {$kind}
     .label = not allowed in type signatures
+
+hir_analysis_pointee_sized_trait_object = `PointeeSized` cannot be used with trait objects
+
 hir_analysis_precise_capture_self_alias = `Self` can't be captured in `use<...>` precise captures list, since it is an alias
     .label = `Self` is not a generic argument, but an alias to the type of the {$what}