Skip to content

Commit 45377df

Browse files
committed
one must imagine ci happy
1 parent 4ced269 commit 45377df

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

tests/ui/type-alias-impl-trait/type-alias-impl-trait-tuple.next.stderr

+5-6
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ error[E0284]: type annotations needed: cannot satisfy `Foo == _`
44
LL | Blah { my_foo: make_foo(), my_u8: 12 }
55
| ^^^^^^^^^^ cannot satisfy `Foo == _`
66

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

1313
error: aborting due to 2 previous errors
1414

15-
Some errors have detailed explanations: E0282, E0284.
16-
For more information about an error, try `rustc --explain E0282`.
15+
For more information about this error, try `rustc --explain E0284`.

tests/ui/type-alias-impl-trait/type-alias-impl-trait-tuple.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ impl Blah {
2222
//[next]~^ ERROR type annotations needed: cannot satisfy `Foo == _`
2323
}
2424
fn into_inner(self) -> (Foo, u8, Foo) {
25-
//[next]~^ ERROR type annotations needed
2625
(self.my_foo, self.my_u8, make_foo())
26+
//[next]~^ ERROR type annotations needed: cannot satisfy `Foo == _`
2727
}
2828
}
2929

0 commit comments

Comments
 (0)