]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/tests/source/nested-if-else.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / rustfmt / tests / source / nested-if-else.rs
CommitLineData
f20569fa
XL
1fn issue1518() {
2 Some(Object {
3 field: if a {
4 a_thing
5 } else if b {
6 b_thing
7 } else {
8 c_thing
9 },
10 })
11}