Skip to content

Commit 9733196

Browse files
[ci] Roll pinned nightly toolchain (#2031)
1 parent c5613c7 commit 9733196

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
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.82.0"
63-
pinned-nightly = "nightly-2024-11-05"
63+
pinned-nightly = "nightly-2024-11-06"
6464

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

tests/ui-nightly/transmute-mut-dst-unsized.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ error[E0277]: the size for values of type `[u8]` cannot be known at compilation
5050
note: required by an implicit `Sized` bound in `std::intrinsics::transmute`
5151
--> $RUST/core/src/intrinsics.rs
5252
|
53-
| pub fn transmute<Src, Dst>(src: Src) -> Dst;
54-
| ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute`
53+
| pub const unsafe fn transmute<Src, Dst>(_src: Src) -> Dst {
54+
| ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute`
5555
= note: this error originates in the macro `$crate::assert_size_eq` which comes from the expansion of the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
5656

5757
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time

tests/ui-nightly/transmute-mut-src-dst-unsized.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ error[E0277]: the size for values of type `[u8]` cannot be known at compilation
147147
note: required by an implicit `Sized` bound in `std::intrinsics::transmute`
148148
--> $RUST/core/src/intrinsics.rs
149149
|
150-
| pub fn transmute<Src, Dst>(src: Src) -> Dst;
151-
| ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute`
150+
| pub const unsafe fn transmute<Src, Dst>(_src: Src) -> Dst {
151+
| ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute`
152152
= note: this error originates in the macro `$crate::assert_size_eq` which comes from the expansion of the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
153153

154154
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time

tests/ui-nightly/transmute-ref-dst-unsized.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ error[E0277]: the size for values of type `[u8]` cannot be known at compilation
5050
note: required by an implicit `Sized` bound in `std::intrinsics::transmute`
5151
--> $RUST/core/src/intrinsics.rs
5252
|
53-
| pub fn transmute<Src, Dst>(src: Src) -> Dst;
54-
| ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute`
53+
| pub const unsafe fn transmute<Src, Dst>(_src: Src) -> Dst {
54+
| ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute`
5555
= note: this error originates in the macro `$crate::assert_size_eq` which comes from the expansion of the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
5656

5757
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time

tests/ui-nightly/transmute-ref-src-dst-unsized.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ error[E0277]: the size for values of type `[u8]` cannot be known at compilation
147147
note: required by an implicit `Sized` bound in `std::intrinsics::transmute`
148148
--> $RUST/core/src/intrinsics.rs
149149
|
150-
| pub fn transmute<Src, Dst>(src: Src) -> Dst;
151-
| ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute`
150+
| pub const unsafe fn transmute<Src, Dst>(_src: Src) -> Dst {
151+
| ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute`
152152
= note: this error originates in the macro `$crate::assert_size_eq` which comes from the expansion of the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
153153

154154
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time

0 commit comments

Comments
 (0)