rust/tests/ui/rfc-1937-termination-trait/termination-trait-for-str.rs
2023-01-11 09:32:08 +00:00

9 lines
189 B
Rust

// run-fail
// error-pattern: An error message for you
// failure-status: 1
// ignore-emscripten no processes
fn main() -> Result<(), &'static str> {
Err("An error message for you")
}