about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2018-09-06 14:54:11 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2018-09-06 14:55:24 +0200
commit4973094feb0d0b1498a1bc3ac250ab87cefdd61a (patch)
tree54e50e796a30608d06c2dc746c196ef9000a87c3
parent8e729555269e768351674ce0e528aaca409db2d9 (diff)
downloadrust-4973094feb0d0b1498a1bc3ac250ab87cefdd61a.tar.gz
rust-4973094feb0d0b1498a1bc3ac250ab87cefdd61a.zip
Allow illegal_floating_point_literal_pattern. These will need to be updated at some point.
Discussion can be found on rust-lang/rust#41620.
-rw-r--r--src/test/ui/run-pass/union/union-pat-refutability.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/run-pass/union/union-pat-refutability.rs b/src/test/ui/run-pass/union/union-pat-refutability.rs
index f48d8e0d91b..2c481160fda 100644
--- a/src/test/ui/run-pass/union/union-pat-refutability.rs
+++ b/src/test/ui/run-pass/union/union-pat-refutability.rs
@@ -9,6 +9,7 @@
 // except according to those terms.
 
 // run-pass
+#![allow(illegal_floating_point_literal_pattern)]
 
 #[repr(u32)]
 enum Tag { I, F }