rust/src/test/run-fail/result-get-fail.rs

4 lines
115 B
Rust
Raw Normal View History

// error-pattern:get called on error result: "kitty"
fn main() {
log(error, result::get(result::err("kitty")));
}