]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/author/if.rs
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / clippy / tests / ui / author / if.rs
CommitLineData
f20569fa
XL
1#[allow(clippy::all)]
2
3fn main() {
4 #[clippy::author]
5 let _ = if true {
6 1 == 1;
7 } else {
8 2 == 2;
9 };
10}