We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 676bf46 commit 51d09deCopy full SHA for 51d09de
compiler/rustc_const_eval/src/check_consts/ops.rs
@@ -491,6 +491,8 @@ impl<'tcx> NonConstOp<'tcx> for Coroutine {
491
hir::CoroutineDesugaring::Async,
492
hir::CoroutineSource::Block,
493
)
494
+ // FIXME(coroutines): eventually we want to gate const coroutine coroutines behind a
495
+ // different feature.
496
| hir::CoroutineKind::Coroutine(_) => Status::Unstable {
497
gate: sym::const_async_blocks,
498
gate_already_checked: false,
0 commit comments