2020-06-25 19:43:48 -05:00
|
|
|
error[E0744]: `?` is not allowed in a `const fn`
|
2021-07-15 22:54:00 -05:00
|
|
|
--> $DIR/hir-const-check.rs:11:9
|
2020-03-02 12:53:58 -06:00
|
|
|
|
|
2020-06-25 19:43:48 -05:00
|
|
|
LL | Some(())?;
|
|
|
|
| ^^^^^^^^^
|
2020-03-02 12:53:58 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2020-06-25 19:43:48 -05:00
|
|
|
For more information about this error, try `rustc --explain E0744`.
|