1 2 3 4 5 6 7
// run-fail // error-pattern:internal error: entered unreachable code: 6 is not prime // ignore-emscripten no processes fn main() { unreachable!("{} is not {}", 6u32, "prime"); }