Skip to content

Commit 6fb430e

Browse files
[ci] Roll pinned nightly toolchain (#2032)
1 parent 3bcf6f3 commit 6fb430e

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
@@ -47,7 +47,7 @@ zerocopy-diagnostic-on-unimplemented = "1.78.0"
4747
[package.metadata.ci]
4848
# The versions of the stable and nightly compiler toolchains to use in CI.
4949
pinned-stable = "1.82.0"
50-
pinned-nightly = "nightly-2024-11-05"
50+
pinned-nightly = "nightly-2024-11-06"
5151

5252
[package.metadata.docs.rs]
5353
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)