From 51c3173465ef4e158117da2421707f3b0a9d3e25 Mon Sep 17 00:00:00 2001 From: est31 Date: Sat, 29 Apr 2017 10:02:42 +0200 Subject: [PATCH] Fix non exhaustive match test --- src/test/compile-fail/non-exhaustive-match.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/compile-fail/non-exhaustive-match.rs b/src/test/compile-fail/non-exhaustive-match.rs index 74e728d713b1d..13b62429f4693 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, }