Skip to content

Commit 405392d

Browse files
committed
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
Move src/test to the root See MCP at rust-lang/compiler-team#573 There may be more changes needed. The first commit is just the move of the files: You can check that the first commit did not do anything else than renames by running ``` git diff --diff-filter=r -M100% <rust-lang remote>/master <first commit hash> ``` The output should be empty, because the filter excludes renames, and the match threshold for qualifying a rename is 100%. The second one is mostly a "find and replace" of `src/test` to `tests` and whatever is needed to make CI pass. What is left to do: --- - [x] Move directory - [ ] Change references to `src/test` - [x] Change references in-tree - [ ] Change references in submodules / out-of-tree docs - [x] Make CI pass: - [x] Fix tidy - [x] Fix tests - [x] Bless tests if needed (shouldn't normally) - [ ] Merge it !
2 parents d8f9576 + b504d56 commit 405392d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/hir-def/src/macro_expansion_tests/mbe/meta_syntax.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ macro_rules! m2 { () => ( ${invalid()} ) }
9494

9595
#[test]
9696
fn test_rustc_issue_57597() {
97-
// <https://github.com/rust-lang/rust/blob/master/src/test/ui/issues/issue-57597.rs>
97+
// <https://github.com/rust-lang/rust/blob/master/tests/ui/issues/issue-57597.rs>
9898
check(
9999
r#"
100100
macro_rules! m0 { ($($($i:ident)?)+) => {}; }

crates/ide-db/src/generated/lints.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3624,7 +3624,7 @@ of a library.
36243624
Plugins can extend [Rust's lint
36253625
infrastructure](../../reference/attributes/diagnostics.md#lint-check-attributes) with
36263626
additional checks for code style, safety, etc. Now let's write a plugin
3627-
[`lint-plugin-test.rs`](https://github.com/rust-lang/rust/blob/master/src/test/ui-fulldeps/auxiliary/lint-plugin-test.rs)
3627+
[`lint-plugin-test.rs`](https://github.com/rust-lang/rust/blob/master/tests/ui-fulldeps/auxiliary/lint-plugin-test.rs)
36283628
that warns about any item named `lintme`.
36293629
36303630
```rust,ignore (requires-stage-2)

0 commit comments

Comments
 (0)