about summary refs log tree commit diff
path: root/tests/ui/async-await/async-error-span.rs
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-06-24 10:02:54 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-09-23 13:47:30 +0000
commit211d2ed07bb5dff7683fb021341db751cec2ca1e (patch)
treec17d777a1beffa6edead6677afce1c5789bc8fa8 /tests/ui/async-await/async-error-span.rs
parent286502c9ed77e49aea5bb89cf18c5eda3a8fce92 (diff)
downloadrust-211d2ed07bb5dff7683fb021341db751cec2ca1e.tar.gz
rust-211d2ed07bb5dff7683fb021341db751cec2ca1e.zip
Bless tests.
Diffstat (limited to 'tests/ui/async-await/async-error-span.rs')
-rw-r--r--tests/ui/async-await/async-error-span.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/async-await/async-error-span.rs b/tests/ui/async-await/async-error-span.rs
index 86d459bf084..c8127df625e 100644
--- a/tests/ui/async-await/async-error-span.rs
+++ b/tests/ui/async-await/async-error-span.rs
@@ -10,7 +10,7 @@ fn get_future() -> impl Future<Output = ()> {
 }
 
 async fn foo() {
-    let a; //~ ERROR type inside `async fn` body must be known in this context
+    let a; //~ ERROR type annotations needed
     get_future().await;
 }