about summary refs log tree commit diff
path: root/tests/ui/async-await/issues/non-async-enclosing-span.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/async-await/issues/non-async-enclosing-span.stderr')
-rw-r--r--tests/ui/async-await/issues/non-async-enclosing-span.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/async-await/issues/non-async-enclosing-span.stderr b/tests/ui/async-await/issues/non-async-enclosing-span.stderr
index 91a9e5aa6ca..9c26de1c504 100644
--- a/tests/ui/async-await/issues/non-async-enclosing-span.stderr
+++ b/tests/ui/async-await/issues/non-async-enclosing-span.stderr
@@ -2,7 +2,7 @@ error[E0728]: `await` is only allowed inside `async` functions and blocks
   --> $DIR/non-async-enclosing-span.rs:9:28
    |
 LL | fn main() {
-   |    ---- this is not `async`
+   | --------- this is not `async`
 LL |     let x = move || {};
 LL |     let y = do_the_thing().await;
    |                            ^^^^^ only allowed inside `async` functions and blocks