Skip to content

Commit 58f0f2b

Browse files
[ci] Roll pinned nightly toolchain (#2588)
gherrit-pr-id: Ib303d771a1c1b63aaa4a5fd8b7db064ea77e7573
1 parent 4ff9917 commit 58f0f2b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ zerocopy-panic-in-const-and-vec-try-reserve-1-57-0 = "1.57.0"
6060
[package.metadata.ci]
6161
# The versions of the stable and nightly compiler toolchains to use in CI.
6262
pinned-stable = "1.87.0"
63-
pinned-nightly = "nightly-2025-06-09"
63+
pinned-nightly = "nightly-2025-06-12"
6464

6565
[package.metadata.docs.rs]
6666
all-features = true

src/util/macros.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,9 @@ macro_rules! impl_or_verify {
397397
(@verify $trait:ident, $impl_block:tt) => {
398398
#[cfg(any(feature = "derive", test))]
399399
{
400+
// On some toolchains, `Subtrait` triggers the `dead_code` lint
401+
// because it is implemented but never used.
402+
#[allow(dead_code)]
400403
trait Subtrait: $trait {}
401404
$impl_block
402405
};

0 commit comments

Comments
 (0)