diff options
| author | Michael Goulet <michael@errs.io> | 2024-11-06 17:53:59 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-12-13 00:04:56 +0000 |
| commit | c605c84be8780e8f85379dc35f4567d6c64908d8 (patch) | |
| tree | 1d16f0e7628f7afb02573ff730e21de7c10e3323 /tests/ui/async-await/async-borrowck-escaping-closure-error.stderr | |
| parent | d4025ee454169fbd22f5773f54348310ab6a47bb (diff) | |
| download | rust-c605c84be8780e8f85379dc35f4567d6c64908d8.tar.gz rust-c605c84be8780e8f85379dc35f4567d6c64908d8.zip | |
Stabilize async closures
Diffstat (limited to 'tests/ui/async-await/async-borrowck-escaping-closure-error.stderr')
| -rw-r--r-- | tests/ui/async-await/async-borrowck-escaping-closure-error.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/async-await/async-borrowck-escaping-closure-error.stderr b/tests/ui/async-await/async-borrowck-escaping-closure-error.stderr index 4b1ce300b56..967b3bf5a77 100644 --- a/tests/ui/async-await/async-borrowck-escaping-closure-error.stderr +++ b/tests/ui/async-await/async-borrowck-escaping-closure-error.stderr @@ -1,5 +1,5 @@ error[E0515]: cannot return value referencing local variable `x` - --> $DIR/async-borrowck-escaping-closure-error.rs:6:5 + --> $DIR/async-borrowck-escaping-closure-error.rs:5:5 | LL | Box::new((async || x)()) | ^^^^^^^^^------------^^^ |
