diff options
| author | bors <bors@rust-lang.org> | 2019-06-16 23:25:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-06-16 23:25:12 +0000 |
| commit | 70456a6cbd67c0547d22997007afaaed0819767e (patch) | |
| tree | b90947366595ea805384667f3a9b2bc3c16a2227 /src/test/incremental/thinlto | |
| parent | 4edff843dd219cf19a5fede6c78c7ce95402e1f5 (diff) | |
| parent | 7c84efddc4a756272eabfe79de826a30849ccd2f (diff) | |
| download | rust-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/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
