1 2 3 4 5 6 7
//@ run-fail //@ error-pattern:custom message //@ needs-subprocess fn main() { assert!(false, "custom message"); }