Skip to content

Commit 79b0a42

Browse files
committed
bless tests again after the last commit
1 parent 7132ef4 commit 79b0a42

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

tests/ui/impl-trait/in-trait/refine-resolution-errors.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ impl<T: ?Sized> Mirror for () {
1414

1515
pub trait First {
1616
async fn first() -> <() as Mirror>::Assoc;
17+
//~^ ERROR type annotations needed
1718
}
1819

1920
impl First for () {

tests/ui/impl-trait/in-trait/refine-resolution-errors.stderr

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,13 @@ help: consider relaxing the implicit `Sized` restriction
2828
LL | type Assoc: ?Sized;
2929
| ++++++++
3030

31-
error: aborting due to 2 previous errors
31+
error[E0282]: type annotations needed
32+
--> $DIR/refine-resolution-errors.rs:16:5
33+
|
34+
LL | async fn first() -> <() as Mirror>::Assoc;
35+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
36+
37+
error: aborting due to 3 previous errors
3238

33-
Some errors have detailed explanations: E0207, E0277.
39+
Some errors have detailed explanations: E0207, E0277, E0282.
3440
For more information about an error, try `rustc --explain E0207`.

0 commit comments

Comments
 (0)