summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_session/messages.ftl
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_session/messages.ftl')
-rw-r--r--compiler/rustc_session/messages.ftl3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_session/messages.ftl b/compiler/rustc_session/messages.ftl
index b07c6db59..e06b63809 100644
--- a/compiler/rustc_session/messages.ftl
+++ b/compiler/rustc_session/messages.ftl
@@ -8,6 +8,9 @@ session_cannot_mix_and_match_sanitizers = `-Zsanitizer={$first}` is incompatible
session_cgu_not_recorded =
CGU-reuse for `{$cgu_user_name}` is (mangled: `{$cgu_name}`) was not recorded
+session_cli_feature_diagnostic_help =
+ add `-Zcrate-attr="feature({$feature})"` to the command-line options to enable
+
session_crate_name_does_not_match = `--crate-name` and `#[crate_name]` are required to match, but `{$s}` != `{$name}`
session_crate_name_empty = crate name must not be empty