about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2018-08-31 15:59:42 +0200
committerDavid Wood <david@davidtw.co>2018-08-31 16:13:42 +0200
commit2ce56c5ebf4b63c274da678c367a4d85a13994a8 (patch)
treee9cb2588f31e1d4a79f5008ebabc35f3d5566f4b /src/test/incremental/thinlto
parent685fb543174f8f2cadc38ec0b2c6df635eb1c087 (diff)
downloadrust-2ce56c5ebf4b63c274da678c367a4d85a13994a8.tar.gz
rust-2ce56c5ebf4b63c274da678c367a4d85a13994a8.zip
Added warning/error for if-let-chain ambiguity.
With eRFC 2497, previously accepted ambigious syntax regarding use of
`&&` and `||` in if-let and while-let statements should now warn
or error depending on the edition.

This commit takes a naive approach to detecting ambigious use of `&&`
or `||` and will probably need fine tuned to handle all cases.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions