Function rustc::session::expectUnstable [-] [+] [src]

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