about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-12-18 20:35:09 +0000
committerbors <bors@rust-lang.org>2019-12-18 20:35:09 +0000
commitd7c7056a488266c8c7e731a3b8e56193022eedac (patch)
tree9748b6f96950dea8b548a9103498b426e91db641 /src/test/incremental/thinlto
parentc62396dbf442839fc725d353ef85306da1667caf (diff)
parent460d5a3b5a0c657bce8d00661b1546e78cafe2b1 (diff)
downloadrust-d7c7056a488266c8c7e731a3b8e56193022eedac.tar.gz
rust-d7c7056a488266c8c7e731a3b8e56193022eedac.zip
Auto merge of #4910 - krishna-veerareddy:issue-1205-cmp-nan-against-consts, r=phansch
Detect comparisons with NAN constants

Currently `cmp_nan` lint doesn't detect comparisons with NaN's if the operands are consts variables so to fix this we evaluate the const variables first before testing for NaN.

changelog: Detect comparisons with NaN constants in `cmp_nan` lint

Fixes #1205
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions