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