Skip to content

Commit cc89312

Browse files
committed
appease tidy
1 parent 99a8075 commit cc89312

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/ui/async-await/suggest-missing-await.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ async fn suggest_await_in_generic_pattern() {
7474
// Issue #126903
7575
async fn do_async() {}
7676
fn dont_suggest_awaiting_closure_patterns() {
77-
Some(do_async()).map(|()| {});
78-
//~^ ERROR mismatched types
77+
Some(do_async()).map(|()| {});
78+
//~^ ERROR mismatched types [E0308]
7979
}
8080

8181
fn main() {}

tests/ui/async-await/suggest-missing-await.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ LL | match dummy_result().await {
134134
| ++++++
135135

136136
error[E0308]: mismatched types
137-
--> $DIR/suggest-missing-await.rs:77:24
137+
--> $DIR/suggest-missing-await.rs:77:27
138138
|
139139
LL | Some(do_async()).map(|()| {});
140140
| ^^

0 commit comments

Comments
 (0)