From 6fb430edea7765559276dc5320a057229d4fb64e Mon Sep 17 00:00:00 2001 From: Google PR Creation Bot <145818923+google-pr-creation-bot@users.noreply.github.com> Date: Thu, 7 Nov 2024 05:02:44 -0800 Subject: [PATCH] [ci] Roll pinned nightly toolchain (#2032) --- Cargo.toml | 2 +- tests/ui-nightly/transmute-mut-dst-unsized.stderr | 4 ++-- tests/ui-nightly/transmute-mut-src-dst-unsized.stderr | 4 ++-- tests/ui-nightly/transmute-ref-dst-unsized.stderr | 4 ++-- tests/ui-nightly/transmute-ref-src-dst-unsized.stderr | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 86ece0aa15..8634980a67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,7 +47,7 @@ zerocopy-diagnostic-on-unimplemented = "1.78.0" [package.metadata.ci] # The versions of the stable and nightly compiler toolchains to use in CI. pinned-stable = "1.82.0" -pinned-nightly = "nightly-2024-11-05" +pinned-nightly = "nightly-2024-11-06" [package.metadata.docs.rs] all-features = true diff --git a/tests/ui-nightly/transmute-mut-dst-unsized.stderr b/tests/ui-nightly/transmute-mut-dst-unsized.stderr index 74e58f7ad8..615be547eb 100644 --- a/tests/ui-nightly/transmute-mut-dst-unsized.stderr +++ b/tests/ui-nightly/transmute-mut-dst-unsized.stderr @@ -50,8 +50,8 @@ error[E0277]: the size for values of type `[u8]` cannot be known at compilation note: required by an implicit `Sized` bound in `std::intrinsics::transmute` --> $RUST/core/src/intrinsics.rs | - | pub fn transmute(src: Src) -> Dst; - | ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute` + | pub const unsafe fn transmute(_src: Src) -> Dst { + | ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute` = 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) error[E0277]: the size for values of type `[u8]` cannot be known at compilation time diff --git a/tests/ui-nightly/transmute-mut-src-dst-unsized.stderr b/tests/ui-nightly/transmute-mut-src-dst-unsized.stderr index 1cff579d97..9a17cf51c8 100644 --- a/tests/ui-nightly/transmute-mut-src-dst-unsized.stderr +++ b/tests/ui-nightly/transmute-mut-src-dst-unsized.stderr @@ -147,8 +147,8 @@ error[E0277]: the size for values of type `[u8]` cannot be known at compilation note: required by an implicit `Sized` bound in `std::intrinsics::transmute` --> $RUST/core/src/intrinsics.rs | - | pub fn transmute(src: Src) -> Dst; - | ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute` + | pub const unsafe fn transmute(_src: Src) -> Dst { + | ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute` = 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) error[E0277]: the size for values of type `[u8]` cannot be known at compilation time diff --git a/tests/ui-nightly/transmute-ref-dst-unsized.stderr b/tests/ui-nightly/transmute-ref-dst-unsized.stderr index 3eb5ad5087..34a9fff9ed 100644 --- a/tests/ui-nightly/transmute-ref-dst-unsized.stderr +++ b/tests/ui-nightly/transmute-ref-dst-unsized.stderr @@ -50,8 +50,8 @@ error[E0277]: the size for values of type `[u8]` cannot be known at compilation note: required by an implicit `Sized` bound in `std::intrinsics::transmute` --> $RUST/core/src/intrinsics.rs | - | pub fn transmute(src: Src) -> Dst; - | ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute` + | pub const unsafe fn transmute(_src: Src) -> Dst { + | ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute` = 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) error[E0277]: the size for values of type `[u8]` cannot be known at compilation time diff --git a/tests/ui-nightly/transmute-ref-src-dst-unsized.stderr b/tests/ui-nightly/transmute-ref-src-dst-unsized.stderr index 251e58c5d1..5cdec56f25 100644 --- a/tests/ui-nightly/transmute-ref-src-dst-unsized.stderr +++ b/tests/ui-nightly/transmute-ref-src-dst-unsized.stderr @@ -147,8 +147,8 @@ error[E0277]: the size for values of type `[u8]` cannot be known at compilation note: required by an implicit `Sized` bound in `std::intrinsics::transmute` --> $RUST/core/src/intrinsics.rs | - | pub fn transmute(src: Src) -> Dst; - | ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute` + | pub const unsafe fn transmute(_src: Src) -> Dst { + | ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute` = 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) error[E0277]: the size for values of type `[u8]` cannot be known at compilation time