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

warning: floating-point types cannot be used in patterns
  --> $DIR/deduplicate-diagnostics-2.rs:11:9
   |
LL |         2.0 => {}
   |         ^^^
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>

warning: floating-point types cannot be used in patterns
  --> $DIR/deduplicate-diagnostics-2.rs:7:9
   |
LL |         1.0 => {}
   |         ^^^
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>

warning: floating-point types cannot be used in patterns
  --> $DIR/deduplicate-diagnostics-2.rs:11:9
   |
LL |         2.0 => {}
   |         ^^^
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620>

warning: 4 warnings emitted