Skip to content

Commit

Permalink
appease tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
SparkyPotato committed Jun 24, 2024
1 parent 99a8075 commit cc89312
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/ui/async-await/suggest-missing-await.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ async fn suggest_await_in_generic_pattern() {
// Issue #126903
async fn do_async() {}
fn dont_suggest_awaiting_closure_patterns() {
Some(do_async()).map(|()| {});
//~^ ERROR mismatched types
Some(do_async()).map(|()| {});
//~^ ERROR mismatched types [E0308]
}

fn main() {}
2 changes: 1 addition & 1 deletion tests/ui/async-await/suggest-missing-await.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ LL | match dummy_result().await {
| ++++++

error[E0308]: mismatched types
--> $DIR/suggest-missing-await.rs:77:24
--> $DIR/suggest-missing-await.rs:77:27
|
LL | Some(do_async()).map(|()| {});
| ^^
Expand Down

0 comments on commit cc89312

Please sign in to comment.