mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
9 lines
179 B
Rust
9 lines
179 B
Rust
//@ run-fail
|
|
//@ error-pattern: An error message for you
|
|
//@ failure-status: 1
|
|
//@ needs-subprocess
|
|
|
|
fn main() -> Result<(), &'static str> {
|
|
Err("An error message for you")
|
|
}
|