Rollup merge of #106043 - c410-f3r:moar-errors, r=petrochenkov

Move tests

r? ``@petrochenkov``

* 6470 is an ancient LLVM compilation bug
* 22375 to typeck because of https://github.com/rust-lang/rust/pull/23013
This commit is contained in:
nils 2022-12-23 18:02:14 +01:00 committed by GitHub
commit a8000516a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 1 additions and 18 deletions

View File

@ -1,17 +0,0 @@
// build-pass
#![allow(dead_code)]
#![allow(improper_ctypes)]
// pretty-expanded FIXME #23616
#![allow(non_snake_case)]
pub mod Bar {
pub struct Foo {
v: isize,
}
extern "C" {
pub fn foo(v: *const Foo) -> Foo;
}
}
pub fn main() {}

View File

@ -10,7 +10,7 @@ use std::path::Path;
const ENTRY_LIMIT: usize = 1000;
// FIXME: The following limits should be reduced eventually.
const ROOT_ENTRY_LIMIT: usize = 939;
const ISSUES_ENTRY_LIMIT: usize = 2040;
const ISSUES_ENTRY_LIMIT: usize = 2020;
fn check_entries(path: &Path, bad: &mut bool) {
for dir in Walk::new(&path.join("test/ui")) {