about summary refs log tree commit diff
path: root/src/rt/rust_exchange_alloc.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-07-25 10:55:47 -0700
committerbors <bors@rust-lang.org>2013-07-25 10:55:47 -0700
commitb1f5b1ba5fd12a058d153e9da8f11cd1bc597bf0 (patch)
treed50a42ff7c3d172e21157325a1cbae7d33361f40 /src/rt/rust_exchange_alloc.cpp
parentbaa649ede6df96f645a9e28acfdc0b66b63e48b5 (diff)
parentf929a49d9c07115124a168bcc9651956683b4c22 (diff)
downloadrust-b1f5b1ba5fd12a058d153e9da8f11cd1bc597bf0.tar.gz
rust-b1f5b1ba5fd12a058d153e9da8f11cd1bc597bf0.zip
auto merge of #8029 : emillon/rust/issue-6804, r=cmr
Hi,

As noted in #6804, a pattern that contains `NaN` will never match because `NaN != NaN`. This adds a warning for such a case. The first commit handles the basic case and the second one generalizes it to more complex patterns using `walk_pat`.
Diffstat (limited to 'src/rt/rust_exchange_alloc.cpp')
0 files changed, 0 insertions, 0 deletions