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:
commit
3017341dae
@ -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() {}
|
@ -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`.
|
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user