Rename and Move some UI tests to more suitable subdirs

This commit is contained in:
DuskyElf 2025-02-04 17:02:37 +05:30
parent 8a8b464175
commit 2431977ecf
26 changed files with 19 additions and 34 deletions

View File

@ -2218,26 +2218,12 @@ ui/issues/issue-3993.rs
ui/issues/issue-39970.rs
ui/issues/issue-39984.rs
ui/issues/issue-40000.rs
ui/issues/issue-40136.rs
ui/issues/issue-40235.rs
ui/issues/issue-4025.rs
ui/issues/issue-40288-2.rs
ui/issues/issue-40288.rs
ui/issues/issue-40350.rs
ui/issues/issue-40408.rs
ui/issues/issue-40610.rs
ui/issues/issue-40749.rs
ui/issues/issue-40782.rs
ui/issues/issue-40827.rs
ui/issues/issue-40845.rs
ui/issues/issue-40861.rs
ui/issues/issue-40883.rs
ui/issues/issue-40951.rs
ui/issues/issue-41053.rs
ui/issues/issue-41139.rs
ui/issues/issue-41213.rs
ui/issues/issue-41229-ref-str.rs
ui/issues/issue-41272.rs
ui/issues/issue-41298.rs
ui/issues/issue-41479.rs
ui/issues/issue-41498.rs
@ -2360,7 +2346,6 @@ ui/issues/issue-4830.rs
ui/issues/issue-48364.rs
ui/issues/issue-48728.rs
ui/issues/issue-4875.rs
ui/issues/issue-48838.rs
ui/issues/issue-48984.rs
ui/issues/issue-49298.rs
ui/issues/issue-4935.rs

View File

@ -17,7 +17,7 @@ use ignore::Walk;
const ENTRY_LIMIT: u32 = 901;
// FIXME: The following limits should be reduced eventually.
const ISSUES_ENTRY_LIMIT: u32 = 1658;
const ISSUES_ENTRY_LIMIT: u32 = 1634;
const EXPECTED_TEST_FILE_EXTENSIONS: &[&str] = &[
"rs", // test source files

View File

@ -1,11 +1,11 @@
error[E0308]: mismatched types
--> $DIR/issue-48838.rs:2:14
--> $DIR/closure-in-enum-issue-48838.rs:2:14
|
LL | Square = |x| x,
| ^^^^^ expected `isize`, found closure
|
= note: expected type `isize`
found closure `{closure@$DIR/issue-48838.rs:2:14: 2:17}`
found closure `{closure@$DIR/closure-in-enum-issue-48838.rs:2:14: 2:17}`
error: aborting due to 1 previous error

View File

@ -1,11 +1,11 @@
error: cannot find macro `m` in this scope
--> $DIR/issue-40845.rs:1:11
--> $DIR/macros-in-trait-positions-issue-40845.rs:1:11
|
LL | trait T { m!(); }
| ^
error: cannot find macro `m` in this scope
--> $DIR/issue-40845.rs:4:10
--> $DIR/macros-in-trait-positions-issue-40845.rs:4:10
|
LL | impl S { m!(); }
| ^

View File

@ -1,5 +1,5 @@
error: missing `in` in `for` loop
--> $DIR/issue-40782.rs:4:11
--> $DIR/for-loop-missing-in.rs:4:11
|
LL | for _i 0..2 {
| ^
@ -10,7 +10,7 @@ LL | for _i in 0..2 {
| ++
error: missing `in` in `for` loop
--> $DIR/issue-40782.rs:6:12
--> $DIR/for-loop-missing-in.rs:6:12
|
LL | for _i of 0..2 {
| ^^

View File

@ -1,5 +1,5 @@
error[E0277]: `Rc<Foo>` cannot be shared between threads safely
--> $DIR/issue-40827.rs:14:7
--> $DIR/deep-level-Send-bound-check-issue-40827.rs:14:7
|
LL | f(Foo(Arc::new(Bar::B(None))));
| - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Rc<Foo>` cannot be shared between threads safely
@ -8,24 +8,24 @@ LL | f(Foo(Arc::new(Bar::B(None))));
|
= help: within `Bar`, the trait `Sync` is not implemented for `Rc<Foo>`
note: required because it appears within the type `Bar`
--> $DIR/issue-40827.rs:6:6
--> $DIR/deep-level-Send-bound-check-issue-40827.rs:6:6
|
LL | enum Bar {
| ^^^
= note: required for `Arc<Bar>` to implement `Send`
note: required because it appears within the type `Foo`
--> $DIR/issue-40827.rs:4:8
--> $DIR/deep-level-Send-bound-check-issue-40827.rs:4:8
|
LL | struct Foo(Arc<Bar>);
| ^^^
note: required by a bound in `f`
--> $DIR/issue-40827.rs:11:9
--> $DIR/deep-level-Send-bound-check-issue-40827.rs:11:9
|
LL | fn f<T: Send>(_: T) {}
| ^^^^ required by this bound in `f`
error[E0277]: `Rc<Foo>` cannot be sent between threads safely
--> $DIR/issue-40827.rs:14:7
--> $DIR/deep-level-Send-bound-check-issue-40827.rs:14:7
|
LL | f(Foo(Arc::new(Bar::B(None))));
| - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Rc<Foo>` cannot be sent between threads safely
@ -34,18 +34,18 @@ LL | f(Foo(Arc::new(Bar::B(None))));
|
= help: within `Bar`, the trait `Send` is not implemented for `Rc<Foo>`
note: required because it appears within the type `Bar`
--> $DIR/issue-40827.rs:6:6
--> $DIR/deep-level-Send-bound-check-issue-40827.rs:6:6
|
LL | enum Bar {
| ^^^
= note: required for `Arc<Bar>` to implement `Send`
note: required because it appears within the type `Foo`
--> $DIR/issue-40827.rs:4:8
--> $DIR/deep-level-Send-bound-check-issue-40827.rs:4:8
|
LL | struct Foo(Arc<Bar>);
| ^^^
note: required by a bound in `f`
--> $DIR/issue-40827.rs:11:9
--> $DIR/deep-level-Send-bound-check-issue-40827.rs:11:9
|
LL | fn f<T: Send>(_: T) {}
| ^^^^ required by this bound in `f`

View File

@ -1,5 +1,5 @@
error[E0369]: cannot add `()` to `()`
--> $DIR/issue-40610.rs:4:8
--> $DIR/coercion-check-for-addition-issue-40610.rs:4:8
|
LL | () + f(&[1.0]);
| -- ^ --------- ()

View File

@ -1,5 +1,5 @@
error[E0608]: cannot index into a value of type `()`
--> $DIR/issue-40861.rs:4:7
--> $DIR/coercion-check-for-indexing-expression-issue-40861.rs:4:7
|
LL | ()[f(&[1.0])];
| ^^^^^^^^^^^

View File

@ -1,5 +1,5 @@
error[E0618]: expected function, found `&dyn Fn() -> (dyn Trait + 'static)`
--> $DIR/issue-41139.rs:10:26
--> $DIR/unsized-rvalue-issue-41139.rs:10:26
|
LL | fn get_function<'a>() -> &'a dyn Fn() -> dyn Trait {
| -------------------------------------------------- `get_function` defined here returns `&dyn Fn() -> (dyn Trait + 'static)`

View File

@ -1,5 +1,5 @@
error[E0308]: mismatched types
--> $DIR/issue-40749.rs:2:9
--> $DIR/range-expr-root-of-constant-issue-40749.rs:2:9
|
LL | [0; ..10];
| ^^^^ expected `usize`, found `RangeTo<{integer}>`