diff --git a/compiler-core/src/analyse.rs b/compiler-core/src/analyse.rs index 6f7c28877..8cffa8a9e 100644 --- a/compiler-core/src/analyse.rs +++ b/compiler-core/src/analyse.rs @@ -1783,11 +1783,10 @@ fn get_compatible_record_fields( }; // The labels must be the same - #[allow(clippy::nonminimal_bool)] // TODO: Bump to Rust 1.83 - if !argument + if argument .label .as_ref() - .is_some_and(|(_, arg_label)| arg_label == first_label) + .is_none_or(|(_, arg_label)| arg_label != first_label) { continue 'next_argument; } diff --git a/flake.lock b/flake.lock index df24f4c08..e91c113de 100644 --- a/flake.lock +++ b/flake.lock @@ -95,13 +95,13 @@ "rust-manifest": { "flake": false, "locked": { - "narHash": "sha256-tB9BZB6nRHDk5ELIVlGYlIjViLKBjQl52nC1avhcCwA=", + "narHash": "sha256-Yqu2/i9170R7pQhvOCR1f5SyFr7PcFbO6xcMr9KWruQ=", "type": "file", - "url": "https://static.rust-lang.org/dist/channel-rust-1.81.0.toml" + "url": "https://static.rust-lang.org/dist/channel-rust-1.83.0.toml" }, "original": { "type": "file", - "url": "https://static.rust-lang.org/dist/channel-rust-1.81.0.toml" + "url": "https://static.rust-lang.org/dist/channel-rust-1.83.0.toml" } }, "systems": { diff --git a/flake.nix b/flake.nix index dcb900ff6..e82446c75 100644 --- a/flake.nix +++ b/flake.nix @@ -7,7 +7,7 @@ inputs.nixpkgs.follows = "nixpkgs"; }; rust-manifest = { - url = "https://static.rust-lang.org/dist/channel-rust-1.81.0.toml"; + url = "https://static.rust-lang.org/dist/channel-rust-1.83.0.toml"; flake = false; }; };