summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-str-err.rs
blob: 94f16c6fd02128d223cad900ed9e02d206ae1eca (plain)
1
2
3
4
5
6
7
8
// 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")
}