]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/unreachable-fmt-msg.rs
Rollup merge of #106714 - Ezrashaw:remove-e0490, r=davidtwco
[rust.git] / tests / 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 }