Skip to content

Commit cec5c40

Browse files
authored
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.
2 parents 31a4f2d + 71ab284 commit cec5c40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tools/suggest-tests/src/static_suggestions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ static_suggestions! {
1515

1616
"compiler/*" => [
1717
sug!("check"),
18-
sug!("test", 1, ["src/test/ui", "src/test/run-make"])
18+
sug!("test", 1, ["tests/ui", "tests/run-make"])
1919
],
2020

2121
"src/librustdoc/*" => [

src/tools/suggest-tests/src/tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ macro_rules! sugg_test {
1212

1313
sugg_test! {
1414
test_error_code_docs: ["compiler/rustc_error_codes/src/error_codes/E0000.md"] =>
15-
["check N/A", "test compiler/rustc_error_codes N/A", "test linkchecker 0", "test src/test/ui src/test/run-make 1"],
15+
["check N/A", "test compiler/rustc_error_codes N/A", "test linkchecker 0", "test tests/ui tests/run-make 1"],
1616

1717
test_rustdoc: ["src/librustdoc/src/lib.rs"] => ["test rustdoc 1"],
1818

0 commit comments

Comments
 (0)