[][src]Function syntex_syntax2::diagnostics::plugin::expect

pub fn expect<T, M>(diag: &Handler, opt: Option<T>, msg: M) -> T where
    M: FnOnce() -> String