about summary refs log tree commit diff
path: root/tests/rustdoc-ui/doctest
AgeCommit message (Collapse)AuthorLines
2023-12-13Auto merge of #118213 - Urgau:check-cfg-diagnostics-rustc-cargo, r=petrochenkovbors-0/+2
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-13Add more suggestion to unexpected cfg names and valuesUrgau-0/+2
2023-12-12Follow guidelines for lint suggestionsGuillaume Gomez-12/+24
2023-11-24Manual find replace updatesNilstrieb-1/+1
2023-11-24Bless rustdoc-ui testsNilstrieb-11/+11
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-10-13MCP636: Adapt check-cfg tests to the new syntaxUrgau-1/+1
2023-10-12check-cfg: update rustdoc ui check-cfg testsUrgau-1/+1
2023-08-01Fix windows test output.Yuri Astrakhan-1/+2
2023-07-29Change default panic handler message format.Mara Bos-1/+2
2023-05-05Improve check-cfg diagnostics (part 1)Urgau-1/+1
2023-04-29Move some rustdoc-ui tests to subdirectoriesjyn-0/+1189