Rollup merge of #111002 - Zalathar:x-suggest-dirs, r=Mark-Simulacrum

Fix the test directories suggested by `./x.py suggest`

It seems that these paths were correct when #106249 was being written, but since then #106458 has been merged (moving `src/test/` to `tests/`), making the tool's suggestions incorrect.
This commit is contained in:
Matthias Krüger 2023-05-06 23:32:01 +02:00 committed by GitHub
commit cec5c40e4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ macro_rules! static_suggestions {
"compiler/*" => [
sug!("check"),
sug!("test", 1, ["src/test/ui", "src/test/run-make"])
sug!("test", 1, ["tests/ui", "tests/run-make"])
],
"src/librustdoc/*" => [

View File

@ -12,7 +12,7 @@ fn $name() {
sugg_test! {
test_error_code_docs: ["compiler/rustc_error_codes/src/error_codes/E0000.md"] =>
["check N/A", "test compiler/rustc_error_codes N/A", "test linkchecker 0", "test src/test/ui src/test/run-make 1"],
["check N/A", "test compiler/rustc_error_codes N/A", "test linkchecker 0", "test tests/ui tests/run-make 1"],
test_rustdoc: ["src/librustdoc/src/lib.rs"] => ["test rustdoc 1"],