Skip to content

Commit

Permalink
one must imagine ci happy
Browse files Browse the repository at this point in the history
  • Loading branch information
lcnr committed Feb 13, 2024
1 parent e5541cf commit 51a1000
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ error[E0284]: type annotations needed: cannot satisfy `Foo == _`
LL | Blah { my_foo: make_foo(), my_u8: 12 }
| ^^^^^^^^^^ cannot satisfy `Foo == _`

error[E0282]: type annotations needed
--> $DIR/type-alias-impl-trait-tuple.rs:24:28
error[E0284]: type annotations needed: cannot satisfy `Foo == _`
--> $DIR/type-alias-impl-trait-tuple.rs:25:10
|
LL | fn into_inner(self) -> (Foo, u8, Foo) {
| ^^^^^^^^^^^^^^ cannot infer type for tuple `(Foo, u8, Foo)`
LL | (self.my_foo, self.my_u8, make_foo())
| ^^^^^^^^^^^ cannot satisfy `Foo == _`

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0282, E0284.
For more information about an error, try `rustc --explain E0282`.
For more information about this error, try `rustc --explain E0284`.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ impl Blah {
//[next]~^ ERROR type annotations needed: cannot satisfy `Foo == _`
}
fn into_inner(self) -> (Foo, u8, Foo) {
//[next]~^ ERROR type annotations needed
(self.my_foo, self.my_u8, make_foo())
//[next]~^ ERROR type annotations needed: cannot satisfy `Foo == _`
}
}

Expand Down

0 comments on commit 51a1000

Please sign in to comment.