Skip to content

Commit 014e8d4

Browse files
Add tracking issue
1 parent bd16825 commit 014e8d4

File tree

5 files changed

+6
-1
lines changed

5 files changed

+6
-1
lines changed

compiler/rustc_feature/src/active.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ declare_features! (
651651
(active, const_fn_unsize, "1.53.0", Some(64992), None),
652652

653653
/// Allows `async {}` expressions in const contexts.
654-
(active, const_async_blocks, "1.53.0", None, None),
654+
(active, const_async_blocks, "1.53.0", Some(85368), None),
655655

656656
/// Allows using imported `main` function
657657
(active, imported_main, "1.53.0", Some(28937), None),

src/test/ui/consts/async-block.without_feature.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ error[E0658]: `async` blocks are not allowed in constants
44
LL | const _: i32 = { core::mem::ManuallyDrop::new(async { 0 }); 4 };
55
| ^^^^^^^^^^^
66
|
7+
= note: see issue #85368 <https://github.com/rust-lang/rust/issues/85368> for more information
78
= help: add `#![feature(const_async_blocks)]` to the crate attributes to enable
89

910
error[E0658]: `async` blocks are not allowed in statics
@@ -12,6 +13,7 @@ error[E0658]: `async` blocks are not allowed in statics
1213
LL | static _FUT: &(dyn Future<Output = ()> + Sync) = &async {};
1314
| ^^^^^^^^
1415
|
16+
= note: see issue #85368 <https://github.com/rust-lang/rust/issues/85368> for more information
1517
= help: add `#![feature(const_async_blocks)]` to the crate attributes to enable
1618

1719
error: aborting due to 2 previous errors

src/test/ui/impl-trait/issues/issue-78721.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ error[E0658]: `async` blocks are not allowed in constants
1313
LL | let f: impl core::future::Future<Output = u8> = async { 1 };
1414
| ^^^^^^^^^^^
1515
|
16+
= note: see issue #85368 <https://github.com/rust-lang/rust/issues/85368> for more information
1617
= help: add `#![feature(const_async_blocks)]` to the crate attributes to enable
1718

1819
error[E0493]: destructors cannot be evaluated at compile-time

src/test/ui/impl-trait/issues/issue-78722.full_tait.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ error[E0658]: `async` blocks are not allowed in constants
2121
LL | let f: F = async { 1 };
2222
| ^^^^^^^^^^^
2323
|
24+
= note: see issue #85368 <https://github.com/rust-lang/rust/issues/85368> for more information
2425
= help: add `#![feature(const_async_blocks)]` to the crate attributes to enable
2526

2627
error[E0493]: destructors cannot be evaluated at compile-time

src/test/ui/impl-trait/issues/issue-78722.min_tait.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ error[E0658]: `async` blocks are not allowed in constants
1313
LL | let f: F = async { 1 };
1414
| ^^^^^^^^^^^
1515
|
16+
= note: see issue #85368 <https://github.com/rust-lang/rust/issues/85368> for more information
1617
= help: add `#![feature(const_async_blocks)]` to the crate attributes to enable
1718

1819
error[E0493]: destructors cannot be evaluated at compile-time

0 commit comments

Comments
 (0)