]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/control-flow/try.rs
1 // The `?` operator is still not const-evaluatable because it calls `From::from` on the error
4 const fn opt() -> Option
<i32> {
6 x?
; //~ ERROR `?` is not allowed in a `const fn`