diff options
| author | bors <bors@rust-lang.org> | 2013-07-25 10:55:47 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-07-25 10:55:47 -0700 |
| commit | b1f5b1ba5fd12a058d153e9da8f11cd1bc597bf0 (patch) | |
| tree | d50a42ff7c3d172e21157325a1cbae7d33361f40 /src/rt/rust_exchange_alloc.cpp | |
| parent | baa649ede6df96f645a9e28acfdc0b66b63e48b5 (diff) | |
| parent | f929a49d9c07115124a168bcc9651956683b4c22 (diff) | |
| download | rust-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
