diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2024-08-22 00:55:09 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2024-10-04 23:38:41 +0000 |
| commit | d9f15faf3a7ceebca239f511d5f06ada5a87b281 (patch) | |
| tree | 94ef83b20ca781d0dfbb069eee449fedf7ff9b8c /tests/ui/async-await/async-fn | |
| parent | e740c7b6241f5396db081d34a33894fb8bcfbffe (diff) | |
| download | rust-d9f15faf3a7ceebca239f511d5f06ada5a87b281.tar.gz rust-d9f15faf3a7ceebca239f511d5f06ada5a87b281.zip | |
Bless ui tests.
Diffstat (limited to 'tests/ui/async-await/async-fn')
| -rw-r--r-- | tests/ui/async-await/async-fn/edition-2015.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/async-await/async-fn/edition-2015.stderr b/tests/ui/async-await/async-fn/edition-2015.stderr index 23ffee0d0a6..358bb3e112e 100644 --- a/tests/ui/async-await/async-fn/edition-2015.stderr +++ b/tests/ui/async-await/async-fn/edition-2015.stderr @@ -39,20 +39,20 @@ LL | fn foo(x: impl async Fn()) -> impl async Fn() { x } = help: to use an async block, remove the `||`: `async {` error[E0658]: use of unstable library feature 'async_closure' - --> $DIR/edition-2015.rs:1:22 + --> $DIR/edition-2015.rs:1:42 | LL | fn foo(x: impl async Fn()) -> impl async Fn() { x } - | ^^^^ + | ^^^^ | = note: see issue #62290 <https://github.com/rust-lang/rust/issues/62290> for more information = help: add `#![feature(async_closure)]` to the crate attributes to enable = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date error[E0658]: use of unstable library feature 'async_closure' - --> $DIR/edition-2015.rs:1:42 + --> $DIR/edition-2015.rs:1:22 | LL | fn foo(x: impl async Fn()) -> impl async Fn() { x } - | ^^^^ + | ^^^^ | = note: see issue #62290 <https://github.com/rust-lang/rust/issues/62290> for more information = help: add `#![feature(async_closure)]` to the crate attributes to enable |
