]> git.lizzy.rs Git - rust.git/blob - src/test/ui/deduplicate-diagnostics-2.deduplicate.stderr
Rollup merge of #82259 - osa1:issue82156, r=petrochenkov
[rust.git] / src / test / ui / deduplicate-diagnostics-2.deduplicate.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: 3 warnings emitted
30