Skip to content

Commit 2710efd

Browse files
authored
ci: Update cargo clippy to 1.89 (#1433)
1 parent 18ea4e4 commit 2710efd

4 files changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212

1313
env:
1414
PROTOC_VERSION: "3.25.3"
15-
clippy_rust_version: "1.87"
15+
clippy_rust_version: "1.89"
1616

1717
jobs:
1818
# Depends on all actions that are required for a "successful" CI run.

prost-build/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,5 @@ env_logger = { version = "0.11", default-features = false }
3939
[lints.clippy]
4040
# This lint has MSRV 1.86
4141
io_other_error = "allow"
42+
# This lint has MSRV 1.88
43+
collapsible_if = "allow"

prost-derive/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,7 @@ itertools = ">=0.10.1, <=0.14"
1818
proc-macro2 = "1.0.60"
1919
quote = "1"
2020
syn = { version = "2", features = ["extra-traits"] }
21+
22+
[lints.clippy]
23+
# This lint has MSRV 1.88
24+
collapsible_if = "allow"

prost-types/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ proptest = "1"
2727

2828
[lints.rust]
2929
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] }
30+
31+
[lints.clippy]
32+
# This lint has MSRV 1.88
33+
collapsible_if = "allow"

0 commit comments

Comments
 (0)