]> git.lizzy.rs Git - rust.git/blob - src/test/run-fail/while-body-panics.rs
Use better bound names in `-Zverbose` mode
[rust.git] / src / test / run-fail / while-body-panics.rs
1 #![allow(while_true)]
2
3 // error-pattern:quux
4 fn main() {
5     let _x: isize = {
6         while true {
7             panic!("quux");
8         }
9         8
10     };
11 }