]> git.lizzy.rs Git - rust.git/blob - src/test/ui/panics/explicit-panic-msg.rs
Rollup merge of #91312 - terrarier2111:anon-const-ice, r=jackh726
[rust.git] / src / test / ui / panics / explicit-panic-msg.rs
1 #![allow(unused_assignments)]
2 #![allow(unused_variables)]
3 #![allow(non_fmt_panics)]
4
5 // run-fail
6 // error-pattern:wooooo
7 // ignore-emscripten no processes
8
9 fn main() {
10     let mut a = 1;
11     if 1 == 1 {
12         a = 2;
13     }
14     panic!(format!("woooo{}", "o"));
15 }