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_lint/messages.ftl
+36
Original file line number
Diff line number
Diff line change
@@ -580,6 +580,42 @@ lint_undropped_manually_drops = calls to `std::mem::drop` with `std::mem::Manual
580
580
.label = argument has type `{$arg_ty}`
581
581
.suggestion = use `std::mem::ManuallyDrop::into_inner` to get the inner value
582
582
583
+
lint_unexpected_cfg_name_add_cargo_feature = consider using a Cargo feature instead or adding `{$build_rs_println}` to the top of a `build.rs`
584
+
lint_unexpected_cfg_name_add_cmdline_arg = to expect this configuration use `{$cmdline_arg}`
585
+
lint_unexpected_cfg_name_define_features = consider defining some features in `Cargo.toml`
586
+
lint_unexpected_cfg_name_doc_cargo = see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
587
+
lint_unexpected_cfg_name_doc_rustc = see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
lint_unexpected_cfg_name_expected_values = expected values for `{$best_match}` are: {$possibilities}
593
+
lint_unexpected_cfg_name_similar_name = there is a config with a similar name
594
+
lint_unexpected_cfg_name_similar_name_different_values = there is a config with a similar name and different values
595
+
lint_unexpected_cfg_name_similar_name_no_value = there is a config with a similar name and no value
596
+
lint_unexpected_cfg_name_similar_name_value = there is a config with a similar name and value
597
+
lint_unexpected_cfg_name_with_similar_value = found config with similar value
598
+
599
+
lint_unexpected_cfg_value_add_cmdline_arg = to expect this configuration use `{$cmdline_arg}`
600
+
lint_unexpected_cfg_value_add_feature = consider adding `{$value}` as a feature in `Cargo.toml`
601
+
lint_unexpected_cfg_value_define_features = consider defining some features in `Cargo.toml`
602
+
lint_unexpected_cfg_value_doc_cargo = see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
603
+
lint_unexpected_cfg_value_doc_rustc = see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
604
+
lint_unexpected_cfg_value_expected_values = expected values for `{$name}` are: {$have_none_possibility->
605
+
[true] {"(none), "}
606
+
*[false] {""}
607
+
}{$possibilities}{$and_more->
608
+
[0] {""}
609
+
*[others] {""}and {$and_more} more
610
+
}
611
+
lint_unexpected_cfg_value_no_expected_value = no expected value for `{$name}`
612
+
lint_unexpected_cfg_value_no_expected_values = no expected values for `{$name}`
613
+
lint_unexpected_cfg_value_remove_condition = remove the condition
614
+
lint_unexpected_cfg_value_remove_value = remove the value
615
+
lint_unexpected_cfg_value_similar_name = there is a expected value with a similar name
616
+
lint_unexpected_cfg_value_specify_value = specify a config value
617
+
lint_unexpected_cfg_value_use_features_or_build_rs = consider using a Cargo feature instead or adding `{$build_rs_println}` to the top of a `build.rs`
618
+
583
619
lint_ungated_async_fn_track_caller = `#[track_caller]` on async functions is a no-op
584
620
.label = this function will not propagate the caller location
0 commit comments