You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[lang = "sized"]traitSized{}enumResult<T,E>{Ok(T),Err(E)}fnfoo() -> Result<i32,i32>{Result::Ok(15)}fnbar() -> Result<i32,i32>{let result = foo()?;Result::Ok(15)}
this also generates another issue, which is that using result displays an error about the variable not being found - as it hasn't been properly declared
The text was updated successfully, but these errors were encountered:
godbolt link
this also generates another issue, which is that using
result
displays an error about the variable not being found - as it hasn't been properly declaredThe text was updated successfully, but these errors were encountered: