fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1warning: floating-point types cannot be used in patterns 2 --> $DIR/deduplicate-diagnostics-2.rs:7:9 3 | 4LL | 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 11warning: floating-point types cannot be used in patterns 12 --> $DIR/deduplicate-diagnostics-2.rs:11:9 13 | 14LL | 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 20warning: floating-point types cannot be used in patterns 21 --> $DIR/deduplicate-diagnostics-2.rs:7:9 22 | 23LL | 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 29warning: 3 warnings emitted 30