]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/unreachable-fmt-msg.rs
Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup
[rust.git] / src / test / ui / macros / unreachable-fmt-msg.rs
1 // run-fail
2 // error-pattern:internal error: entered unreachable code: 6 is not prime
3 // ignore-emscripten no processes
4
5 fn main() {
6     unreachable!("{} is not {}", 6u32, "prime");
7 }