Skip to content

Commit becc739

Browse files
[ci] Roll pinned nightly toolchain (#2691)
1 parent d94a961 commit becc739

File tree

68 files changed

+505
-211
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+505
-211
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.89.0"
63-
pinned-nightly = "nightly-2025-08-22"
63+
pinned-nightly = "nightly-2025-08-25"
6464

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

src/util/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,8 @@ where
370370
//
371371
// SAFETY: any initialized bit sequence is a bit-valid `*mut u8`. All
372372
// bits of a `usize` are initialized.
373-
#[allow(clippy::useless_transmute)]
373+
#[allow(unknown_lints)] // For `integer_to_ptr_transmutes`
374+
#[allow(clippy::useless_transmute, integer_to_ptr_transmutes)]
374375
let dangling = unsafe { mem::transmute::<usize, *mut u8>(align) };
375376
// SAFETY: `dangling` is constructed from `T::LAYOUT.align`, which is a
376377
// `NonZeroUsize`, which is guaranteed to be non-zero.

tests/ui-msrv/try_transmute-size-decrease.stderr

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
warning: unused variable: `decrease_size`
2-
--> tests/ui-msrv/try_transmute-size-decrease.rs:19:9
3-
|
4-
19 | let decrease_size: Result<u8, _> = try_transmute!(AU16(0));
5-
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decrease_size`
6-
|
7-
= note: `#[warn(unused_variables)]` on by default
8-
91
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
10-
--> tests/ui-msrv/try_transmute-size-decrease.rs:19:40
2+
--> tests/ui-msrv/try_transmute-size-decrease.rs:19:41
113
|
12-
19 | let decrease_size: Result<u8, _> = try_transmute!(AU16(0));
13-
| ^^^^^^^^^^^^^^^^^^^^^^^
4+
19 | let _decrease_size: Result<u8, _> = try_transmute!(AU16(0));
5+
| ^^^^^^^^^^^^^^^^^^^^^^^
146
|
157
= note: source type: `AU16` (16 bits)
168
= note: target type: `u8` (8 bits)

tests/ui-msrv/try_transmute-size-increase.stderr

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
warning: unused variable: `increase_size`
2-
--> tests/ui-msrv/try_transmute-size-increase.rs:19:9
3-
|
4-
19 | let increase_size: Result<AU16, _> = try_transmute!(0u8);
5-
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_increase_size`
6-
|
7-
= note: `#[warn(unused_variables)]` on by default
8-
91
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
10-
--> tests/ui-msrv/try_transmute-size-increase.rs:19:42
2+
--> tests/ui-msrv/try_transmute-size-increase.rs:19:43
113
|
12-
19 | let increase_size: Result<AU16, _> = try_transmute!(0u8);
13-
| ^^^^^^^^^^^^^^^^^^^
4+
19 | let _increase_size: Result<AU16, _> = try_transmute!(0u8);
5+
| ^^^^^^^^^^^^^^^^^^^
146
|
157
= note: source type: `u8` (8 bits)
168
= note: target type: `AU16` (16 bits)

tests/ui-msrv/try_transmute_mut-alignment-increase.stderr

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
warning: unused variable: `increase_size`
2-
--> tests/ui-msrv/try_transmute_mut-alignment-increase.rs:20:9
3-
|
4-
20 | let increase_size: Result<&mut AU16, _> = try_transmute_mut!(src);
5-
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_increase_size`
6-
|
7-
= note: `#[warn(unused_variables)]` on by default
8-
91
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
10-
--> tests/ui-msrv/try_transmute_mut-alignment-increase.rs:20:47
2+
--> tests/ui-msrv/try_transmute_mut-alignment-increase.rs:20:48
113
|
12-
20 | let increase_size: Result<&mut AU16, _> = try_transmute_mut!(src);
13-
| ^^^^^^^^^^^^^^^^^^^^^^^
4+
20 | let _increase_size: Result<&mut AU16, _> = try_transmute_mut!(src);
5+
| ^^^^^^^^^^^^^^^^^^^^^^^
146
|
157
= note: source type: `AlignOf<[u8; 2]>` (8 bits)
168
= note: target type: `MaxAlignsOf<[u8; 2], AU16>` (16 bits)

tests/ui-msrv/try_transmute_mut-size-decrease.stderr

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
warning: unused variable: `decrease_size`
2-
--> tests/ui-msrv/try_transmute_mut-size-decrease.rs:20:9
3-
|
4-
20 | let decrease_size: Result<&mut u8, _> = try_transmute_mut!(src);
5-
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decrease_size`
6-
|
7-
= note: `#[warn(unused_variables)]` on by default
8-
91
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
10-
--> tests/ui-msrv/try_transmute_mut-size-decrease.rs:20:45
2+
--> tests/ui-msrv/try_transmute_mut-size-decrease.rs:20:46
113
|
12-
20 | let decrease_size: Result<&mut u8, _> = try_transmute_mut!(src);
13-
| ^^^^^^^^^^^^^^^^^^^^^^^
4+
20 | let _decrease_size: Result<&mut u8, _> = try_transmute_mut!(src);
5+
| ^^^^^^^^^^^^^^^^^^^^^^^
146
|
157
= note: source type: `AU16` (16 bits)
168
= note: target type: `u8` (8 bits)

tests/ui-msrv/try_transmute_mut-size-increase.stderr

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,11 @@ warning: unused import: `util::AU16`
66
|
77
= note: `#[warn(unused_imports)]` on by default
88

9-
warning: unused variable: `increase_size`
10-
--> tests/ui-msrv/try_transmute_mut-size-increase.rs:20:9
11-
|
12-
20 | let increase_size: Result<&mut [u8; 2], _> = try_transmute_mut!(src);
13-
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_increase_size`
14-
|
15-
= note: `#[warn(unused_variables)]` on by default
16-
179
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
18-
--> tests/ui-msrv/try_transmute_mut-size-increase.rs:20:50
10+
--> tests/ui-msrv/try_transmute_mut-size-increase.rs:20:51
1911
|
20-
20 | let increase_size: Result<&mut [u8; 2], _> = try_transmute_mut!(src);
21-
| ^^^^^^^^^^^^^^^^^^^^^^^
12+
20 | let _increase_size: Result<&mut [u8; 2], _> = try_transmute_mut!(src);
13+
| ^^^^^^^^^^^^^^^^^^^^^^^
2214
|
2315
= note: source type: `u8` (8 bits)
2416
= note: target type: `[u8; 2]` (16 bits)

tests/ui-msrv/try_transmute_ref-alignment-increase.stderr

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
warning: unused variable: `increase_size`
2-
--> tests/ui-msrv/try_transmute_ref-alignment-increase.rs:19:9
3-
|
4-
19 | let increase_size: Result<&AU16, _> = try_transmute_ref!(&[0u8; 2]);
5-
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_increase_size`
6-
|
7-
= note: `#[warn(unused_variables)]` on by default
8-
91
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
10-
--> tests/ui-msrv/try_transmute_ref-alignment-increase.rs:19:43
2+
--> tests/ui-msrv/try_transmute_ref-alignment-increase.rs:19:44
113
|
12-
19 | let increase_size: Result<&AU16, _> = try_transmute_ref!(&[0u8; 2]);
13-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4+
19 | let _increase_size: Result<&AU16, _> = try_transmute_ref!(&[0u8; 2]);
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
146
|
157
= note: source type: `AlignOf<[u8; 2]>` (8 bits)
168
= note: target type: `MaxAlignsOf<[u8; 2], AU16>` (16 bits)

tests/ui-msrv/try_transmute_ref-size-decrease.stderr

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
warning: unused variable: `decrease_size`
2-
--> tests/ui-msrv/try_transmute_ref-size-decrease.rs:19:9
3-
|
4-
19 | let decrease_size: Result<&u8, _> = try_transmute_ref!(&AU16(0));
5-
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decrease_size`
6-
|
7-
= note: `#[warn(unused_variables)]` on by default
8-
91
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
10-
--> tests/ui-msrv/try_transmute_ref-size-decrease.rs:19:41
2+
--> tests/ui-msrv/try_transmute_ref-size-decrease.rs:19:42
113
|
12-
19 | let decrease_size: Result<&u8, _> = try_transmute_ref!(&AU16(0));
13-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4+
19 | let _decrease_size: Result<&u8, _> = try_transmute_ref!(&AU16(0));
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
146
|
157
= note: source type: `AU16` (16 bits)
168
= note: target type: `u8` (8 bits)

tests/ui-msrv/try_transmute_ref-size-increase.stderr

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
warning: unused variable: `increase_size`
2-
--> tests/ui-msrv/try_transmute_ref-size-increase.rs:19:9
3-
|
4-
19 | let increase_size: Result<&AU16, _> = try_transmute_ref!(&[0u8; 2]);
5-
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_increase_size`
6-
|
7-
= note: `#[warn(unused_variables)]` on by default
8-
91
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
10-
--> tests/ui-msrv/try_transmute_ref-size-increase.rs:19:43
2+
--> tests/ui-msrv/try_transmute_ref-size-increase.rs:19:44
113
|
12-
19 | let increase_size: Result<&AU16, _> = try_transmute_ref!(&[0u8; 2]);
13-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4+
19 | let _increase_size: Result<&AU16, _> = try_transmute_ref!(&[0u8; 2]);
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
146
|
157
= note: source type: `AlignOf<[u8; 2]>` (8 bits)
168
= note: target type: `MaxAlignsOf<[u8; 2], AU16>` (16 bits)

0 commit comments

Comments
 (0)