rust/tests
bors a90372c6e8 Auto merge of #118213 - Urgau:check-cfg-diagnostics-rustc-cargo, r=petrochenkov
Add more suggestions to unexpected cfg names and values

This pull request adds more suggestion to unexpected cfg names and values diagnostics:
 - it first adds a links to the [rustc unstable book](https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html) or the [Cargo reference](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg), depending if rustc is invoked by Cargo
 - it secondly adds a suggestion on how to expect the cfg name or value:
    *excluding well known names and values*
    - for Cargo: it suggest using a feature or `cargo:rust-check-cfg` in build script
    - for rustc: it suggest using `--check-cfg` (with the correct invocation)

Those diagnostics improvements are directed towards enabling users to fix the issue if the previous suggestions weren't good enough.

r? `@petrochenkov`
2023-12-13 19:45:57 +00:00
..
assembly fix: stop emitting .debug_pubnames and .debug_pubtypes 2023-12-11 14:58:02 -05:00
auxiliary
codegen Fix alignment passed down to LLVM for simd_masked_load 2023-12-12 13:11:59 +01:00
codegen-units
coverage Rollup merge of #118666 - Zalathar:body-closure, r=cjgillot 2023-12-09 00:48:10 -08:00
coverage-run-rustdoc
debuginfo
incremental tests: CGU tests require build-pass, not check-pass (remove FIXME) 2023-12-12 15:48:48 +01:00
mir-opt End locals' live range before suspending coroutine 2023-12-11 23:11:20 +01:00
pretty Improve print_tts by changing tokenstream::Spacing. 2023-12-11 09:19:09 +11:00
run-make Improve print_tts by changing tokenstream::Spacing. 2023-12-11 09:19:09 +11:00
run-make-fulldeps Merge Queries::{ongoing_codegen,linker}. 2023-11-22 13:22:49 +11:00
run-pass-valgrind
rustdoc Rollup merge of #118594 - hdost:patch-1, r=fmease 2023-12-05 16:08:35 +01:00
rustdoc-gui Extend GUI tests for doc_cfg 2023-12-07 10:44:55 +01:00
rustdoc-js rustdoc-search: fix fast path unboxing bindings 2023-12-10 20:53:53 -07:00
rustdoc-js-std Auto merge of #118077 - calebzulawski:sync-portable-simd-2023-11-19, r=workingjubilee 2023-12-02 18:04:01 +00:00
rustdoc-json rustdoc-json: Fix test so it actuall checks things 2023-11-09 12:13:16 +00:00
rustdoc-ui Auto merge of #118213 - Urgau:check-cfg-diagnostics-rustc-cargo, r=petrochenkov 2023-12-13 19:45:57 +00:00
ui Auto merge of #118213 - Urgau:check-cfg-diagnostics-rustc-cargo, r=petrochenkov 2023-12-13 19:45:57 +00:00
ui-fulldeps remove redundant imports 2023-12-10 10:56:22 +08:00
COMPILER_TESTS.md