1 error: floating-point types cannot be used in patterns
2 --> $DIR/issue-6804.rs:11:9
7 note: the lint level is defined here
8 --> $DIR/issue-6804.rs:4:9
10 LL | #![deny(illegal_floating_point_literal_pattern)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
13 = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
15 error: floating-point types cannot be used in patterns
16 --> $DIR/issue-6804.rs:19:10
21 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
22 = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
24 error: floating-point types cannot be used in patterns
25 --> $DIR/issue-6804.rs:11:9
30 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
31 = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
33 error: floating-point types cannot be used in patterns
34 --> $DIR/issue-6804.rs:19:10
39 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
40 = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
42 error: aborting due to 4 previous errors