diff --git a/Cargo.toml b/Cargo.toml index 2cadf0dfc5..c1f7bfd862 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ rustdoc-args = ["--cfg", "doc_cfg", "--generate-link-to-definition"] [package.metadata.ci] # The versions of the stable and nightly compiler toolchains to use in CI. pinned-stable = "1.78.0" -pinned-nightly = "nightly-2024-05-21" +pinned-nightly = "nightly-2024-05-29" [package.metadata.playground] features = ["__internal_use_only_features_that_work_on_stable"] diff --git a/src/lib.rs b/src/lib.rs index 32ba8af616..e094c9a34a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1084,7 +1084,7 @@ safety_comment! { /// Per the [Rust reference](reference), /// /// > The representation of a type can change the padding between fields, but -/// does not change the layout of the fields themselves. +/// > does not change the layout of the fields themselves. /// /// [reference]: https://doc.rust-lang.org/reference/type-layout.html#representations /// @@ -1699,7 +1699,7 @@ pub unsafe trait FromZeroes { /// Per the [Rust reference](reference), /// /// > The representation of a type can change the padding between fields, but -/// does not change the layout of the fields themselves. +/// > does not change the layout of the fields themselves. /// /// [reference]: https://doc.rust-lang.org/reference/type-layout.html#representations /// diff --git a/tests/ui-nightly/transmute-mut-const.stderr b/tests/ui-nightly/transmute-mut-const.stderr index 6620b8663d..f7c9d0838e 100644 --- a/tests/ui-nightly/transmute-mut-const.stderr +++ b/tests/ui-nightly/transmute-mut-const.stderr @@ -21,7 +21,7 @@ error[E0658]: mutable references are not allowed in constants | = note: see issue #57349 for more information = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable - = note: this compiler was built on 2024-05-20; consider upgrading it if it is out of date + = note: this compiler was built on 2024-05-28; consider upgrading it if it is out of date error[E0015]: cannot call non-const fn `transmute_mut::<'_, '_, [u8; 2], [u8; 2]>` in constants --> tests/ui-nightly/transmute-mut-const.rs:20:37