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
Auto merge of rust-lang#134305 - matthiaskrgr:rollup-bja3lsz, r=matthiaskrgr
Rollup of 6 pull requests
Successful merges:
- rust-lang#133221 (Add external macros specific diagnostics for check-cfg)
- rust-lang#133386 (Update linux_musl base to dynamically link the crt by default)
- rust-lang#134191 (Make some types and methods related to Polonius + Miri public)
- rust-lang#134227 (Update wasi-sdk used to build WASI targets)
- rust-lang#134279 ((Re-)return adjustment target if adjust kind is never-to-any)
- rust-lang#134295 (Encode coroutine-closures in SMIR)
r? `@ghost`
`@rustbot` modify labels: rollup
Copy file name to clipboardexpand all lines: compiler/rustc_lint/messages.ftl
+4
Original file line number
Diff line number
Diff line change
@@ -806,10 +806,14 @@ lint_unexpected_cfg_add_build_rs_println = or consider adding `{$build_rs_printl
806
806
lint_unexpected_cfg_add_cargo_feature = consider using a Cargo feature instead
807
807
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}
808
808
lint_unexpected_cfg_add_cmdline_arg = to expect this configuration use `{$cmdline_arg}`
809
+
lint_unexpected_cfg_cargo_update = the {$macro_kind} `{$macro_name}` may come from an old version of it's defining crate, try updating your dependencies with `cargo update`
810
+
809
811
lint_unexpected_cfg_define_features = consider defining some features in `Cargo.toml`
810
812
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
811
813
lint_unexpected_cfg_doc_rustc = see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
812
814
815
+
lint_unexpected_cfg_from_external_macro_origin = using a cfg inside a {$macro_kind} will use the cfgs from the destination crate and not the ones from the defining crate
816
+
lint_unexpected_cfg_from_external_macro_refer = try refering to `{$macro_name}` crate for guidance on how handle this unexpected cfg
0 commit comments