Update stderr files

This commit is contained in:
Eric Holk 2021-12-15 12:35:34 -08:00
parent 6a28afb2a3
commit 7d82e4f764
2 changed files with 5 additions and 5 deletions

View File

@ -17,10 +17,10 @@ LL | bar().await;
| ^^^ cannot infer type for type parameter `T` declared on the function `bar`
|
note: the type is part of the `async fn` body because of this `await`
--> $DIR/unresolved_type_param.rs:9:5
--> $DIR/unresolved_type_param.rs:9:10
|
LL | bar().await;
| ^^^^^^^^^^^
| ^^^^^^
error[E0698]: type inside `async fn` body must be known in this context
--> $DIR/unresolved_type_param.rs:9:5
@ -29,10 +29,10 @@ LL | bar().await;
| ^^^ cannot infer type for type parameter `T` declared on the function `bar`
|
note: the type is part of the `async fn` body because of this `await`
--> $DIR/unresolved_type_param.rs:9:5
--> $DIR/unresolved_type_param.rs:9:10
|
LL | bar().await;
| ^^^^^^^^^^^
| ^^^^^^
error: aborting due to 3 previous errors

View File

@ -2,7 +2,7 @@ error: `No` held across a suspend point, but should not be
--> $DIR/dedup.rs:16:13
|
LL | wheeee(&No {}).await;
| --------^^^^^------- the value is held across this suspend point
| ^^^^^ ------ the value is held across this suspend point
|
note: the lint level is defined here
--> $DIR/dedup.rs:3:9