]>
Commit | Line | Data |
---|---|---|
94222f64 | 1 | error[E0658]: `?` is not allowed in a `const fn` |
2b03887a | 2 | --> $DIR/hir-const-check.rs:12:9 |
ba9703b0 | 3 | | |
f035d41b XL |
4 | LL | Some(())?; |
5 | | ^^^^^^^^^ | |
94222f64 XL |
6 | | |
7 | = note: see issue #74935 <https://github.com/rust-lang/rust/issues/74935> for more information | |
8 | = help: add `#![feature(const_try)]` to the crate attributes to enable | |
ba9703b0 XL |
9 | |
10 | error: aborting due to previous error | |
11 | ||
94222f64 | 12 | For more information about this error, try `rustc --explain E0658`. |