]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/conditional-debug-macro-on.rs
Rollup merge of #106931 - Ezrashaw:docs-e0208, r=compiler-errors
[rust.git] / tests / ui / macros / conditional-debug-macro-on.rs
1 // run-pass
2 pub fn main() {
3     // exits early if println! evaluates its arguments, otherwise it
4     // will hit the panic.
5     println!("{:?}", { if true { return; } });
6
7     panic!();
8 }