Function rustc_driver::diagnostic::expectUnstable [-]  [+] [src]

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