diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 09babb152722..bf8fffdca8ad 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -2,5 +2,5 @@ # SPDX-License-Identifier: Apache-2.0 OR MIT [toolchain] -channel = "nightly-2025-11-11" +channel = "nightly-2025-11-12" components = ["llvm-tools", "rustc-dev", "rust-src", "rustfmt"] diff --git a/tests/ui/derive-invariant/helper-side-effect/expected b/tests/ui/derive-invariant/helper-side-effect/expected index 20b3d17efd38..a01c726b0494 100644 --- a/tests/ui/derive-invariant/helper-side-effect/expected +++ b/tests/ui/derive-invariant/helper-side-effect/expected @@ -1,7 +1,7 @@ error[E0596]: cannot borrow `*x` as mutable, as it is behind a `&` reference | | #[safety_constraint({*(x.as_mut()) = 0; true})] - | ^ `x` is a `&` reference, so the data it refers to cannot be borrowed as mutable + | ^ `x` is a `&` reference, so it cannot be borrowed as mutable | help: consider specifying this binding's type |