move tests
This commit is contained in:
parent
b08c11df4b
commit
bad82f22a9
10 changed files with 8 additions and 8 deletions
|
|
@ -1,5 +1,5 @@
|
|||
error: lifetime may not live long enough
|
||||
--> $DIR/issue-16683.rs:4:9
|
||||
--> $DIR/elided-self-lifetime-in-trait-fn.rs:4:9
|
||||
|
|
||||
LL | trait T<'a> {
|
||||
| -- lifetime `'a` defined here
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
error[E0574]: expected struct, variant or union type, found enum `Foo`
|
||||
--> $DIR/issue-17405.rs:7:9
|
||||
--> $DIR/struct_pattern_on_tuple_enum_in_match.rs:7:9
|
||||
|
|
||||
LL | Foo { i } => ()
|
||||
| ^^^ not a struct, variant or union type
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
warning: trait `Private<<Self as Public>::P, <Self as Public>::R>` is more private than the item `Public`
|
||||
--> $DIR/issue-18389.rs:9:1
|
||||
--> $DIR/trait_more_private_than_item.rs:9:1
|
||||
|
|
||||
LL | / pub trait Public: Private<
|
||||
LL | |
|
||||
|
|
@ -9,7 +9,7 @@ LL | | > {
|
|||
| |_^ trait `Public` is reachable at visibility `pub`
|
||||
|
|
||||
note: but trait `Private<<Self as Public>::P, <Self as Public>::R>` is only usable at visibility `pub(crate)`
|
||||
--> $DIR/issue-18389.rs:6:1
|
||||
--> $DIR/trait_more_private_than_item.rs:6:1
|
||||
|
|
||||
LL | trait Private<P, R> {
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
|
@ -1,17 +1,17 @@
|
|||
error[E0573]: expected type, found constant `X`
|
||||
--> $DIR/issue-18119.rs:5:6
|
||||
--> $DIR/impl-on-non-type.rs:5:6
|
||||
|
|
||||
LL | impl X {}
|
||||
| ^ not a type
|
||||
|
||||
error[E0573]: expected type, found static `Y`
|
||||
--> $DIR/issue-18119.rs:7:6
|
||||
--> $DIR/impl-on-non-type.rs:7:6
|
||||
|
|
||||
LL | impl Y {}
|
||||
| ^ not a type
|
||||
|
||||
error[E0573]: expected type, found function `foo`
|
||||
--> $DIR/issue-18119.rs:9:6
|
||||
--> $DIR/impl-on-non-type.rs:9:6
|
||||
|
|
||||
LL | impl foo {}
|
||||
| ^^^ not a type
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
error[E0091]: type parameter `T` is never used
|
||||
--> $DIR/issue-17994.rs:2:10
|
||||
--> $DIR/unused_type_parameter.rs:2:10
|
||||
|
|
||||
LL | type Huh<T> where T: Tr = isize;
|
||||
| ^ unused type parameter
|
||||
Loading…
Add table
Add a link
Reference in a new issue