You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiler/rustc_session/messages.ftl
+3-3
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ session_cannot_mix_and_match_sanitizers = `-Zsanitizer={$first}` is incompatible
8
8
session_cli_feature_diagnostic_help =
9
9
add `-Zcrate-attr="feature({$feature})"` to the command-line options to enable
10
10
11
-
session_crate_name_does_not_match = `--crate-name` and `#[crate_name]` are required to match, but `{$s}` != `{$name}`
11
+
session_crate_name_does_not_match = `--crate-name` and `#[crate_name]` are required to match, but `{$crate_name}` != `{$attr_crate_name}`
12
12
13
13
session_crate_name_empty = crate name must not be empty
14
14
@@ -52,8 +52,8 @@ session_instrumentation_not_supported = {$us} instrumentation is not supported f
52
52
session_int_literal_too_large = integer literal is too large
53
53
.note = value exceeds limit of `{$limit}`
54
54
55
-
session_invalid_character_in_create_name = invalid character `{$character}` in crate name: `{$crate_name}`
56
-
session_invalid_character_in_create_name_help = you can either pass `--crate-name` on the command line or add `#![crate_name="…"]` to set the crate name
55
+
session_invalid_character_in_crate_name = invalid character {$character} in crate name: `{$crate_name}`
56
+
.help = you can either pass `--crate-name` on the command line or add `#![crate_name = "…"]` to set the crate name
57
57
58
58
session_invalid_float_literal_suffix = invalid suffix `{$suffix}` for float literal
0 commit comments