pub fn catch_sinto<S, T, U>(
s: &S,
err: &mut ErrorCtx,
krate: &TranslatedCrate,
span: Span,
x: &T,
) -> Result<U, Error>where
T: Debug + SInto<S, U>,
Expand description
Translates T
into U
using hax
’s SInto
trait, catching any hax panics.