Function syntex_syntax::diagnostic::expect
[−]
[src]
pub fn expect<T, M>(diag: &SpanHandler, opt: Option<T>, msg: M) -> T where M: FnOnce() -> String