Skip to content

Commit 51d09de

Browse files
committed
Add FIXME about const coroutine feature
1 parent 676bf46 commit 51d09de

File tree

1 file changed

+2
-0
lines changed
  • compiler/rustc_const_eval/src/check_consts

1 file changed

+2
-0
lines changed

compiler/rustc_const_eval/src/check_consts/ops.rs

+2
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,8 @@ impl<'tcx> NonConstOp<'tcx> for Coroutine {
491491
hir::CoroutineDesugaring::Async,
492492
hir::CoroutineSource::Block,
493493
)
494+
// FIXME(coroutines): eventually we want to gate const coroutine coroutines behind a
495+
// different feature.
494496
| hir::CoroutineKind::Coroutine(_) => Status::Unstable {
495497
gate: sym::const_async_blocks,
496498
gate_already_checked: false,

0 commit comments

Comments
 (0)