1 error: unreachable pattern
2 --> $DIR/match-range-fail-dominate.rs:6:7
7 note: the lint level is defined here
8 --> $DIR/match-range-fail-dominate.rs:1:9
10 LL | #![deny(unreachable_patterns, overlapping_patterns)]
11 | ^^^^^^^^^^^^^^^^^^^^
13 error: unreachable pattern
14 --> $DIR/match-range-fail-dominate.rs:13:7
19 error: unreachable pattern
20 --> $DIR/match-range-fail-dominate.rs:20:7
25 error: unreachable pattern
26 --> $DIR/match-range-fail-dominate.rs:27:7
28 LL | 'a' ..= 'z' => {}
31 warning: floating-point types cannot be used in patterns
32 --> $DIR/match-range-fail-dominate.rs:33:7
34 LL | 0.01f64 ..= 6.5f64 => {}
37 = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default
38 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
39 = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
41 warning: floating-point types cannot be used in patterns
42 --> $DIR/match-range-fail-dominate.rs:33:19
44 LL | 0.01f64 ..= 6.5f64 => {}
47 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
48 = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
50 warning: floating-point types cannot be used in patterns
51 --> $DIR/match-range-fail-dominate.rs:42:7
56 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
57 = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
59 error: unreachable pattern
60 --> $DIR/match-range-fail-dominate.rs:42:7
65 warning: floating-point types cannot be used in patterns
66 --> $DIR/match-range-fail-dominate.rs:33:7
68 LL | 0.01f64 ..= 6.5f64 => {}
71 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
72 = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
74 warning: floating-point types cannot be used in patterns
75 --> $DIR/match-range-fail-dominate.rs:33:19
77 LL | 0.01f64 ..= 6.5f64 => {}
80 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
81 = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
83 warning: floating-point types cannot be used in patterns
84 --> $DIR/match-range-fail-dominate.rs:42:7
89 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
90 = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
92 error: aborting due to 5 previous errors