]> git.lizzy.rs Git - rust.git/commitdiff
Allow illegal_floating_point_literal_pattern. These will need to be updated at some...
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 6 Sep 2018 12:54:11 +0000 (14:54 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 6 Sep 2018 12:55:24 +0000 (14:55 +0200)
Discussion can be found on rust-lang/rust#41620.

src/test/ui/run-pass/union/union-pat-refutability.rs

index f48d8e0d91b07313d7f6a61b409bd55520e58390..2c481160fdad4219ea980311ef094724d5f31399 100644 (file)
@@ -9,6 +9,7 @@
 // except according to those terms.
 
 // run-pass
+#![allow(illegal_floating_point_literal_pattern)]
 
 #[repr(u32)]
 enum Tag { I, F }