mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
one must imagine ci happy
This commit is contained in:
parent
e5541cf895
commit
51a1000cda
@ -4,13 +4,12 @@ error[E0284]: type annotations needed: cannot satisfy `Foo == _`
|
|||||||
LL | Blah { my_foo: make_foo(), my_u8: 12 }
|
LL | Blah { my_foo: make_foo(), my_u8: 12 }
|
||||||
| ^^^^^^^^^^ cannot satisfy `Foo == _`
|
| ^^^^^^^^^^ cannot satisfy `Foo == _`
|
||||||
|
|
||||||
error[E0282]: type annotations needed
|
error[E0284]: type annotations needed: cannot satisfy `Foo == _`
|
||||||
--> $DIR/type-alias-impl-trait-tuple.rs:24:28
|
--> $DIR/type-alias-impl-trait-tuple.rs:25:10
|
||||||
|
|
|
|
||||||
LL | fn into_inner(self) -> (Foo, u8, Foo) {
|
LL | (self.my_foo, self.my_u8, make_foo())
|
||||||
| ^^^^^^^^^^^^^^ cannot infer type for tuple `(Foo, u8, Foo)`
|
| ^^^^^^^^^^^ cannot satisfy `Foo == _`
|
||||||
|
|
||||||
error: aborting due to 2 previous errors
|
error: aborting due to 2 previous errors
|
||||||
|
|
||||||
Some errors have detailed explanations: E0282, E0284.
|
For more information about this error, try `rustc --explain E0284`.
|
||||||
For more information about an error, try `rustc --explain E0282`.
|
|
||||||
|
@ -22,8 +22,8 @@ impl Blah {
|
|||||||
//[next]~^ ERROR type annotations needed: cannot satisfy `Foo == _`
|
//[next]~^ ERROR type annotations needed: cannot satisfy `Foo == _`
|
||||||
}
|
}
|
||||||
fn into_inner(self) -> (Foo, u8, Foo) {
|
fn into_inner(self) -> (Foo, u8, Foo) {
|
||||||
//[next]~^ ERROR type annotations needed
|
|
||||||
(self.my_foo, self.my_u8, make_foo())
|
(self.my_foo, self.my_u8, make_foo())
|
||||||
|
//[next]~^ ERROR type annotations needed: cannot satisfy `Foo == _`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user