diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2021-05-16 14:59:32 +0200 |
|---|---|---|
| committer | Jonas Schievink <jonasschievink@gmail.com> | 2021-05-16 21:57:40 +0200 |
| commit | 014e8d46f87e746bf9cb9b78c0bcf7e57c2cbc8c (patch) | |
| tree | a0e33ed739f157351fffe6df9c0ded1c36ab17b7 /src/test/ui/consts | |
| parent | bd16825767d53dad8851e0e36c0d2c2392b1384c (diff) | |
| download | rust-014e8d46f87e746bf9cb9b78c0bcf7e57c2cbc8c.tar.gz rust-014e8d46f87e746bf9cb9b78c0bcf7e57c2cbc8c.zip | |
Add tracking issue
Diffstat (limited to 'src/test/ui/consts')
| -rw-r--r-- | src/test/ui/consts/async-block.without_feature.stderr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ui/consts/async-block.without_feature.stderr b/src/test/ui/consts/async-block.without_feature.stderr index 93d0fbd3950..751627c5226 100644 --- a/src/test/ui/consts/async-block.without_feature.stderr +++ b/src/test/ui/consts/async-block.without_feature.stderr @@ -4,6 +4,7 @@ error[E0658]: `async` blocks are not allowed in constants LL | const _: i32 = { core::mem::ManuallyDrop::new(async { 0 }); 4 }; | ^^^^^^^^^^^ | + = note: see issue #85368 <https://github.com/rust-lang/rust/issues/85368> for more information = help: add `#![feature(const_async_blocks)]` to the crate attributes to enable error[E0658]: `async` blocks are not allowed in statics @@ -12,6 +13,7 @@ error[E0658]: `async` blocks are not allowed in statics LL | static _FUT: &(dyn Future<Output = ()> + Sync) = &async {}; | ^^^^^^^^ | + = note: see issue #85368 <https://github.com/rust-lang/rust/issues/85368> for more information = help: add `#![feature(const_async_blocks)]` to the crate attributes to enable error: aborting due to 2 previous errors |
