summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/issue-1239.rs
blob: 913058257ed3d939b57a3a17d7f8d4023a8582ba (plain)
1
2
3
4
5
6
7
8
9
fn foo() {
    let with_alignment = if condition__uses_alignment_for_first_if__0 ||
                            condition__uses_alignment_for_first_if__1 ||
                            condition__uses_alignment_for_first_if__2 {
    } else if condition__no_alignment_for_later_else__0 ||
                                   condition__no_alignment_for_later_else__1 ||
                                   condition__no_alignment_for_later_else__2 {
    };
}