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
+34Lines changed: 34 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -593,6 +593,40 @@ 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_add_build_rs_println = or consider adding `{$build_rs_println}` to the top of the `build.rs`
597
+
lint_unexpected_cfg_add_cargo_feature = consider using a Cargo feature instead
598
+
lint_unexpected_cfg_add_cargo_toml_lint_cfg = or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:{$cargo_toml_lint_cfg}
599
+
lint_unexpected_cfg_add_cmdline_arg = to expect this configuration use `{$cmdline_arg}`
600
+
lint_unexpected_cfg_define_features = consider defining some features in `Cargo.toml`
601
+
lint_unexpected_cfg_doc_cargo = see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
602
+
lint_unexpected_cfg_doc_rustc = see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
0 commit comments