Skip to content

Commit 73182db

Browse files
committed
Move some tests to more reasonable directoriess
1 parent 9cf699d commit 73182db

File tree

106 files changed

+7
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+7
-7
lines changed

src/test/ui/issues/issue-73541.stderr renamed to src/test/ui/async-await/issue-73541-4.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0767]: use of unreachable label `'a`
2-
--> $DIR/issue-73541.rs:4:29
2+
--> $DIR/issue-73541-4.rs:4:29
33
|
44
LL | 'a: loop {
55
| -- unreachable label defined here

src/test/ui/span/issue28498-reject-ex1.stderr renamed to src/test/ui/dropck/issue-28498-reject-ex1.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0713]: borrow may still be in use when destructor runs
2-
--> $DIR/issue28498-reject-ex1.rs:34:29
2+
--> $DIR/issue-28498-reject-ex1.rs:34:29
33
|
44
LL | foo.data[0].1.set(Some(&foo.data[1]));
55
| ^^^^^^^^

src/test/ui/span/issue28498-reject-lifetime-param.stderr renamed to src/test/ui/dropck/issue-28498-reject-lifetime-param.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0597]: `first_dropped` does not live long enough
2-
--> $DIR/issue28498-reject-lifetime-param.rs:32:19
2+
--> $DIR/issue-28498-reject-lifetime-param.rs:32:19
33
|
44
LL | foo1 = Foo(1, &first_dropped);
55
| ^^^^^^^^^^^^^^ borrowed value does not live long enough

src/test/ui/span/issue28498-reject-passed-to-fn.stderr renamed to src/test/ui/dropck/issue-28498-reject-passed-to-fn.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0597]: `first_dropped` does not live long enough
2-
--> $DIR/issue28498-reject-passed-to-fn.rs:34:19
2+
--> $DIR/issue-28498-reject-passed-to-fn.rs:34:19
33
|
44
LL | foo1 = Foo(1, &first_dropped, Box::new(callback));
55
| ^^^^^^^^^^^^^^ borrowed value does not live long enough

src/test/ui/span/issue28498-reject-trait-bound.stderr renamed to src/test/ui/dropck/issue-28498-reject-trait-bound.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0597]: `first_dropped` does not live long enough
2-
--> $DIR/issue28498-reject-trait-bound.rs:34:19
2+
--> $DIR/issue-28498-reject-trait-bound.rs:34:19
33
|
44
LL | foo1 = Foo(1, &first_dropped);
55
| ^^^^^^^^^^^^^^ borrowed value does not live long enough
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/tools/tidy/src/ui_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ use std::path::Path;
77

88
const ENTRY_LIMIT: usize = 1000;
99
// FIXME: The following limits should be reduced eventually.
10-
const ROOT_ENTRY_LIMIT: usize = 968;
11-
const ISSUES_ENTRY_LIMIT: usize = 2147;
10+
const ROOT_ENTRY_LIMIT: usize = 965;
11+
const ISSUES_ENTRY_LIMIT: usize = 2077;
1212

1313
fn check_entries(path: &Path, bad: &mut bool) {
1414
let dirs = walkdir::WalkDir::new(&path.join("test/ui"))

0 commit comments

Comments
 (0)