Skip to content

Commit 7d82e4f

Browse files
committed
Update stderr files
1 parent 6a28afb commit 7d82e4f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/test/ui/async-await/unresolved_type_param.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ LL | bar().await;
1717
| ^^^ cannot infer type for type parameter `T` declared on the function `bar`
1818
|
1919
note: the type is part of the `async fn` body because of this `await`
20-
--> $DIR/unresolved_type_param.rs:9:5
20+
--> $DIR/unresolved_type_param.rs:9:10
2121
|
2222
LL | bar().await;
23-
| ^^^^^^^^^^^
23+
| ^^^^^^
2424

2525
error[E0698]: type inside `async fn` body must be known in this context
2626
--> $DIR/unresolved_type_param.rs:9:5
@@ -29,10 +29,10 @@ LL | bar().await;
2929
| ^^^ cannot infer type for type parameter `T` declared on the function `bar`
3030
|
3131
note: the type is part of the `async fn` body because of this `await`
32-
--> $DIR/unresolved_type_param.rs:9:5
32+
--> $DIR/unresolved_type_param.rs:9:10
3333
|
3434
LL | bar().await;
35-
| ^^^^^^^^^^^
35+
| ^^^^^^
3636

3737
error: aborting due to 3 previous errors
3838

src/test/ui/lint/must_not_suspend/dedup.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error: `No` held across a suspend point, but should not be
22
--> $DIR/dedup.rs:16:13
33
|
44
LL | wheeee(&No {}).await;
5-
| --------^^^^^------- the value is held across this suspend point
5+
| ^^^^^ ------ the value is held across this suspend point
66
|
77
note: the lint level is defined here
88
--> $DIR/dedup.rs:3:9

0 commit comments

Comments
 (0)