rust-clippy/tests/ui/author/if.rs
2019-05-10 23:43:58 -07:00

10 lines
133 B
Rust

#[allow(clippy::all)]
fn main() {
#[clippy::author]
let _ = if true {
1 == 1;
} else {
2 == 2;
};
}