1 2 3 4 5 6 7
//@ run-fail //@ error-pattern:bad input //@ needs-subprocess fn main() { Some("foo").unwrap_or(panic!("bad input")).to_string(); }