rust/tests/ui/issues/issue-13202.rs

8 lines
151 B
Rust
Raw Normal View History

//@ run-fail
//@ error-pattern:bad input
//@ ignore-emscripten no processes
fn main() {
Some("foo").unwrap_or(panic!("bad input")).to_string();
}