about summary refs log tree commit diff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2017-04-29 10:02:42 +0200
committerest31 <MTest31@outlook.com>2017-05-02 19:59:22 +0200
commit51c3173465ef4e158117da2421707f3b0a9d3e25 (patch)
treeffb18bc7c771ba63c7e12ed51265418f3332cfed
parentde7dda7bf413dc214e3f1552d6cb3f8052283513 (diff)
downloadrust-51c3173465ef4e158117da2421707f3b0a9d3e25.tar.gz
rust-51c3173465ef4e158117da2421707f3b0a9d3e25.zip
Fix non exhaustive match test
-rw-r--r--src/test/compile-fail/non-exhaustive-match.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/compile-fail/non-exhaustive-match.rs b/src/test/compile-fail/non-exhaustive-match.rs
index 74e728d713b..13b62429f46 100644
--- a/src/test/compile-fail/non-exhaustive-match.rs
+++ b/src/test/compile-fail/non-exhaustive-match.rs
@@ -9,6 +9,7 @@
 // except according to those terms.
 
 #![feature(slice_patterns)]
+#![allow(illegal_floating_point_literal_pattern)]
 
 enum t { a, b, }