Rollup merge of #102938 - c410-f3r:here-we-go-again, r=petrochenkov

Move some tests to more reasonable directories

r? ``@petrochenkov``
This commit is contained in:
Dylan DPC 2022-10-14 16:19:13 +05:30 committed by GitHub
commit 3017341dae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 2 additions and 30 deletions

View File

@ -1,12 +0,0 @@
#[derive(Clone)]
struct InGroup<F> {
it: It,
//~^ ERROR cannot find type `It` in this scope
f: F,
}
fn dates_in_year() -> impl Clone {
InGroup { f: |d| d }
//~^ ERROR missing field `it` in initializer of `InGroup<_>`
}
fn main() {}

View File

@ -1,16 +0,0 @@
error[E0412]: cannot find type `It` in this scope
--> $DIR/issue-77993-1.rs:3:9
|
LL | it: It,
| ^^ not found in this scope
error[E0063]: missing field `it` in initializer of `InGroup<_>`
--> $DIR/issue-77993-1.rs:8:5
|
LL | InGroup { f: |d| d }
| ^^^^^^^ missing `it`
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0063, E0412.
For more information about an error, try `rustc --explain E0063`.

View File

@ -7,8 +7,8 @@
const ENTRY_LIMIT: usize = 1000;
// FIXME: The following limits should be reduced eventually.
const ROOT_ENTRY_LIMIT: usize = 950;
const ISSUES_ENTRY_LIMIT: usize = 2141;
const ROOT_ENTRY_LIMIT: usize = 948;
const ISSUES_ENTRY_LIMIT: usize = 2126;
fn check_entries(path: &Path, bad: &mut bool) {
let dirs = walkdir::WalkDir::new(&path.join("test/ui"))