]> git.proxmox.com Git - rustc.git/blob - src/test/ui/deduplicate-diagnostics-2.duplicate.stderr
4fff3a8c0f374fa3afec632af2800fc385edf6d8
[rustc.git] / src / test / ui / deduplicate-diagnostics-2.duplicate.stderr
1 warning: floating-point types cannot be used in patterns
2 --> $DIR/deduplicate-diagnostics-2.rs:7:9
3 |
4 LL | 1.0 => {}
5 | ^^^
6 |
7 = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default
8 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
9 = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
10
11 warning: floating-point types cannot be used in patterns
12 --> $DIR/deduplicate-diagnostics-2.rs:11:9
13 |
14 LL | 2.0 => {}
15 | ^^^
16 |
17 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
18 = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
19
20 warning: floating-point types cannot be used in patterns
21 --> $DIR/deduplicate-diagnostics-2.rs:7:9
22 |
23 LL | 1.0 => {}
24 | ^^^
25 |
26 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
27 = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
28
29 warning: floating-point types cannot be used in patterns
30 --> $DIR/deduplicate-diagnostics-2.rs:11:9
31 |
32 LL | 2.0 => {}
33 | ^^^
34 |
35 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
36 = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>
37