]> git.lizzy.rs Git - rust.git/blob - src/test/run-fail/if-cond-bot.rs
Use better bound names in `-Zverbose` mode
[rust.git] / src / test / run-fail / if-cond-bot.rs
1 // error-pattern:quux
2 fn my_err(s: String) -> ! {
3     println!("{}", s);
4     panic!("quux");
5 }
6 fn main() {
7     if my_err("bye".to_string()) {
8     }
9 }