diff options
| author | Ralf Jung <post@ralfj.de> | 2024-01-06 14:39:51 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-01-26 17:25:02 +0100 |
| commit | 1254ee48c458a5fe8fc1847539169df013098e05 (patch) | |
| tree | 247e3df21358d1d88ebcd856f34bab142ecd8234 /compiler/rustc_lint/src/lib.rs | |
| parent | cda358857214bb5a2b3df4f011102ffee3843a72 (diff) | |
| download | rust-1254ee48c458a5fe8fc1847539169df013098e05.tar.gz rust-1254ee48c458a5fe8fc1847539169df013098e05.zip | |
remove illegal_floating_point_literal_pattern lint
Diffstat (limited to 'compiler/rustc_lint/src/lib.rs')
| -rw-r--r-- | compiler/rustc_lint/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_lint/src/lib.rs b/compiler/rustc_lint/src/lib.rs index 1d9ce10bcaf..0a15671e686 100644 --- a/compiler/rustc_lint/src/lib.rs +++ b/compiler/rustc_lint/src/lib.rs @@ -516,6 +516,10 @@ fn register_builtins(store: &mut LintStore) { "converted into hard error, see PR #118649 \ <https://github.com/rust-lang/rust/pull/118649> for more information", ); + store.register_removed( + "illegal_floating_point_literal_pattern", + "no longer a warning, float patterns behave the same as `==`", + ); } fn register_internals(store: &mut LintStore) { |
