Skip to content

Commit 8829643

Browse files
committed
Bless ui tests
1 parent 360edd6 commit 8829643

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/test/ui/chalkify/bugs/async.stderr

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ note: required by a bound in `from_generator`
2828
LL | T: Generator<ResumeTy, Yield = ()>,
2929
| ^^^^^^^^^^ required by this bound in `from_generator`
3030

31-
error: aborting due to 2 previous errors
31+
error[E0280]: the requirement `<impl Future<Output = [async output]> as Future>::Output == u32` is not satisfied
32+
--> $DIR/async.rs:7:29
33+
|
34+
LL | async fn foo(x: u32) -> u32 {
35+
| _____________________________^
36+
LL | | x
37+
LL | | }
38+
| |_^
39+
40+
error: aborting due to 3 previous errors
3241

3342
For more information about this error, try `rustc --explain E0277`.

0 commit comments

Comments
 (0)