From 3d5d72b76105056af5886cbad4661a26f9409b8e Mon Sep 17 00:00:00 2001 From: Jonathan Brouwer Date: Wed, 25 Jun 2025 09:47:48 +0200 Subject: Port `#[target_feature]` to the new attribute parsing infrastructure Signed-off-by: Jonathan Brouwer --- compiler/rustc_codegen_ssa/messages.ftl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'compiler/rustc_codegen_ssa/messages.ftl') diff --git a/compiler/rustc_codegen_ssa/messages.ftl b/compiler/rustc_codegen_ssa/messages.ftl index 84d63819343..721f94acd33 100644 --- a/compiler/rustc_codegen_ssa/messages.ftl +++ b/compiler/rustc_codegen_ssa/messages.ftl @@ -62,6 +62,10 @@ codegen_ssa_failed_to_get_layout = failed to get layout for {$ty}: {$err} codegen_ssa_failed_to_write = failed to write {$path}: {$error} +codegen_ssa_feature_not_valid = the feature named `{$feature}` is not valid for this target + .label = `{$feature}` is not valid for this target + .help = consider removing the leading `+` in the feature name + codegen_ssa_field_associated_value_expected = associated value expected for `{$name}` codegen_ssa_forbidden_ctarget_feature = -- cgit 1.4.1-3-g733a5