Skip to content

Commit 4973094

Browse files
committed
Allow illegal_floating_point_literal_pattern. These will need to be updated at some point.
Discussion can be found on #41620.
1 parent 8e72955 commit 4973094

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(illegal_floating_point_literal_pattern)]
1213

1314
#[repr(u32)]
1415
enum Tag { I, F }

0 commit comments

Comments
 (0)