Skip to content

Commit d2906d0

Browse files
[ci] Roll pinned nightly toolchain (#1337)
1 parent e5e642a commit d2906d0

7 files changed

+84
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ rustdoc-args = ["--cfg", "doc_cfg", "--generate-link-to-definition"]
3333
[package.metadata.ci]
3434
# The versions of the stable and nightly compiler toolchains to use in CI.
3535
pinned-stable = "1.78.0"
36-
pinned-nightly = "nightly-2024-05-20"
36+
pinned-nightly = "nightly-2024-05-21"
3737

3838
[package.metadata.playground]
3939
features = ["__internal_use_only_features_that_work_on_stable"]

tests/ui-nightly/transmute-mut-const.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ error[E0658]: mutable references are not allowed in constants
2121
|
2222
= note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
2323
= help: add `#![feature(const_mut_refs)]` to the crate attributes to enable
24-
= note: this compiler was built on 2024-05-19; consider upgrading it if it is out of date
24+
= note: this compiler was built on 2024-05-20; consider upgrading it if it is out of date
2525

2626
error[E0015]: cannot call non-const fn `transmute_mut::<'_, '_, [u8; 2], [u8; 2]>` in constants
2727
--> tests/ui-nightly/transmute-mut-const.rs:20:37

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
@@ -43,3 +43,26 @@ error[E0308]: mismatched types
4343
= note: expected type `usize`
4444
found reference `&_`
4545
= note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
46+
47+
warning: never type fallback affects this call to an `unsafe` function
48+
--> tests/ui-nightly/transmute-ref-src-dst-not-references.rs:17:39
49+
|
50+
17 | const SRC_DST_NOT_REFERENCES: usize = transmute_ref!(0usize);
51+
| ^^^^^^^^^^^^^^^^^^^^^^
52+
|
53+
= warning: this will change its meaning in a future release!
54+
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
55+
= help: specify the type explicitly
56+
= note: `#[warn(never_type_fallback_flowing_into_unsafe)]` on by default
57+
= 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)
58+
59+
warning: never type fallback affects this call to an `unsafe` function
60+
--> tests/ui-nightly/transmute-ref-src-dst-not-references.rs:17:39
61+
|
62+
17 | const SRC_DST_NOT_REFERENCES: usize = transmute_ref!(0usize);
63+
| ^^^^^^^^^^^^^^^^^^^^^^
64+
|
65+
= warning: this will change its meaning in a future release!
66+
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
67+
= help: specify the type explicitly
68+
= 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)