error[E0744]: `?` is not allowed in a `const fn` --> $DIR/hir-const-check.rs:11:9 | LL | Some(())?; | ^^^^^^^^^ error: aborting due to previous error For more information about this error, try `rustc --explain E0744`.