Function syntax::diagnostic::expectExperimental [-]  [+] [src]

pub fn expect<T>(diag: &SpanHandler, opt: Option<T>, msg: || -> String) -> T