Skip to content

Commit 3767cca

Browse files
[ci] Roll pinned nightly toolchain (#1338)
1 parent 76915d0 commit 3767cca

6 files changed

+83
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ zerocopy-panic-in-const = "1.57.0"
4646
[package.metadata.ci]
4747
# The versions of the stable and nightly compiler toolchains to use in CI.
4848
pinned-stable = "1.78.0"
49-
pinned-nightly = "nightly-2024-05-20"
49+
pinned-nightly = "nightly-2024-05-21"
5050

5151
[package.metadata.docs.rs]
5252
all-features = true

tests/ui-nightly/transmute-mut-src-dst-not-references.stderr

+12
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,15 @@ help: consider mutably borrowing here
1313
|
1414
17 | const SRC_DST_NOT_REFERENCES: &mut usize = transmute_mut!(&mut 0usize);
1515
| ++++
16+
17+
warning: never type fallback affects this call to an `unsafe` function
18+
--> tests/ui-nightly/transmute-mut-src-dst-not-references.rs:17:44
19+
|
20+
17 | const SRC_DST_NOT_REFERENCES: &mut usize = transmute_mut!(0usize);
21+
| ^^^^^^^^^^^^^^^^^^^^^^
22+
|
23+
= warning: this will change its meaning in a future release!
24+
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
25+
= help: specify the type explicitly
26+
= note: `#[warn(never_type_fallback_flowing_into_unsafe)]` on by default
27+
= note: this warning 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)

tests/ui-nightly/transmute-mut-src-immutable.stderr

+12
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,15 @@ error[E0308]: mismatched types
99
|
1010
= note: expected mutable reference `&mut _`
1111
found reference `&u8`
12+
13+
warning: never type fallback affects this call to an `unsafe` function
14+
--> tests/ui-nightly/transmute-mut-src-immutable.rs:17:22
15+
|
16+
17 | let _: &mut u8 = transmute_mut!(&0u8);
17+
| ^^^^^^^^^^^^^^^^^^^^
18+
|
19+
= warning: this will change its meaning in a future release!
20+
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
21+
= help: specify the type explicitly
22+
= note: `#[warn(never_type_fallback_flowing_into_unsafe)]` on by default
23+
= note: this warning 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)

tests/ui-nightly/transmute-mut-src-not-a-reference.stderr

+12
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,15 @@ help: consider mutably borrowing here
1313
|
1414
17 | const SRC_NOT_A_REFERENCE: &mut u8 = transmute_mut!(&mut 0usize);
1515
| ++++
16+
17+
warning: never type fallback affects this call to an `unsafe` function
18+
--> tests/ui-nightly/transmute-mut-src-not-a-reference.rs:17:38
19+
|
20+
17 | const SRC_NOT_A_REFERENCE: &mut u8 = transmute_mut!(0usize);
21+
| ^^^^^^^^^^^^^^^^^^^^^^
22+
|
23+
= warning: this will change its meaning in a future release!
24+
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
25+
= help: specify the type explicitly
26+
= note: `#[warn(never_type_fallback_flowing_into_unsafe)]` on by default
27+
= note: this warning 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)

tests/ui-nightly/transmute-ref-src-dst-not-references.stderr

+23
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,26 @@ note: function defined here
7676
| pub const fn must_use<T>(t: T) -> T {
7777
| ^^^^^^^^
7878
= note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
79+
80+
warning: never type fallback affects this call to an `unsafe` function
81+
--> tests/ui-nightly/transmute-ref-src-dst-not-references.rs:17:39
82+
|
83+
17 | const SRC_DST_NOT_REFERENCES: usize = transmute_ref!(0usize);
84+
| ^^^^^^^^^^^^^^^^^^^^^^
85+
|
86+
= warning: this will change its meaning in a future release!
87+
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
88+
= help: specify the type explicitly
89+
= note: `#[warn(never_type_fallback_flowing_into_unsafe)]` on by default
90+
= note: this warning 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)
91+
92+
warning: never type fallback affects this call to an `unsafe` function
93+
--> tests/ui-nightly/transmute-ref-src-dst-not-references.rs:17:39
94+
|
95+
17 | const SRC_DST_NOT_REFERENCES: usize = transmute_ref!(0usize);
96+
| ^^^^^^^^^^^^^^^^^^^^^^
97+
|
98+
= warning: this will change its meaning in a future release!
99+
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
100+
= help: specify the type explicitly
101+
= note: this warning originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/ui-nightly/transmute-ref-src-not-a-reference.stderr

+23
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,26 @@ help: consider borrowing here
1313
|
1414
17 | const SRC_NOT_A_REFERENCE: &u8 = transmute_ref!(&0usize);
1515
| +
16+
17+
warning: never type fallback affects this call to an `unsafe` function
18+
--> tests/ui-nightly/transmute-ref-src-not-a-reference.rs:17:34
19+
|
20+
17 | const SRC_NOT_A_REFERENCE: &u8 = transmute_ref!(0usize);
21+
| ^^^^^^^^^^^^^^^^^^^^^^
22+
|
23+
= warning: this will change its meaning in a future release!
24+
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
25+
= help: specify the type explicitly
26+
= note: `#[warn(never_type_fallback_flowing_into_unsafe)]` on by default
27+
= note: this warning 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)
28+
29+
warning: never type fallback affects this call to an `unsafe` function
30+
--> tests/ui-nightly/transmute-ref-src-not-a-reference.rs:17:34
31+
|
32+
17 | const SRC_NOT_A_REFERENCE: &u8 = transmute_ref!(0usize);
33+
| ^^^^^^^^^^^^^^^^^^^^^^
34+
|
35+
= warning: this will change its meaning in a future release!
36+
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
37+
= help: specify the type explicitly
38+
= note: this warning originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)

0 commit comments

Comments
 (0)