about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-06-16 23:25:12 +0000
committerbors <bors@rust-lang.org>2019-06-16 23:25:12 +0000
commit70456a6cbd67c0547d22997007afaaed0819767e (patch)
treeb90947366595ea805384667f3a9b2bc3c16a2227 /src/test/ui/thinlto
parent4edff843dd219cf19a5fede6c78c7ce95402e1f5 (diff)
parent7c84efddc4a756272eabfe79de826a30849ccd2f (diff)
downloadrust-70456a6cbd67c0547d22997007afaaed0819767e.tar.gz
rust-70456a6cbd67c0547d22997007afaaed0819767e.zip
Auto merge of #61892 - rijenkii:master, r=Centril
weird-exprs: if if if if

The `if` keyword can be chained as long as there are enough `{...} else {...}` following, and they all return a `bool` (not required for the last one).
`if` expression can be also put inside a `match` arm guard, thus making the whole thing a little bit more confusing.

Discovered this clusterfunk while reading the reference because I have nothing better to do.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions