blob: abefc34cf6b3e60bdd8dda99f3e9cf21acdb8dcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//@ check-pass
#![allow(clippy::all)]
fn main() {
#[clippy::author]
let _ = if true {
1 == 1;
} else {
2 == 2;
};
let a = true;
#[clippy::author]
if let true = a {
} else {
};
}
|