As the panic points to libbackend/src/utils.rs instead of where it was called
Possible solution:
Adding #[inline] & #[track_caller] should work like with unwrap_or_else()
#[inline]#[track_caller]#[stable(feature = "rust1", since = "1.0.0")]#[rustc_const_unstable(feature = "const_result_trait_fn", issue = "144211")]pubconstfn unwrap_or_else<F>(self,op: F)-> TwhereF: [const]FnOnce(E)-> T+[const]Destruct,{matchself{Ok(t)=>t,Err(e)=>op(e),}}
As the panic points to `libbackend/src/utils.rs` instead of where it was called
Possible solution:
Adding `#[inline]` & `#[track_caller]` should work like with `unwrap_or_else()`
```rust
#[inline]
#[track_caller]
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_result_trait_fn", issue = "144211")]
pub const fn unwrap_or_else<F>(self, op: F) -> T
where
F: [const] FnOnce(E) -> T + [const] Destruct,
{
match self {
Ok(t) => t,
Err(e) => op(e),
}
}
```