mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
13 lines
485 B
Plaintext
13 lines
485 B
Plaintext
warning: floating-point types cannot be used in patterns
|
|
--> $DIR/issue-86600-lint-twice.rs:10:9
|
|
|
|
|
LL | 5.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>
|
|
= note: `#[warn(illegal_floating_point_literal_pattern)]` on by default
|
|
|
|
warning: 1 warning emitted
|
|
|