mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 03:57:37 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
8 lines
133 B
Rust
8 lines
133 B
Rust
//@ run-pass
|
|
|
|
#![allow(unused_parens)]
|
|
|
|
fn foo() { if (return) { } } //~ WARNING unreachable block in `if`
|
|
|
|
pub fn main() { foo(); }
|