Skip to content

Commit e5f1a80

Browse files
authored
Upgrade Rust toolchain to 2025-11-12 (#4469)
Relevant upstream PR: - rust-lang/rust#148508 (Provide more context when mutably borrowing an imutably borrowed value) Resolves: #4468 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.
1 parent af70d99 commit e5f1a80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# SPDX-License-Identifier: Apache-2.0 OR MIT
33

44
[toolchain]
5-
channel = "nightly-2025-11-11"
5+
channel = "nightly-2025-11-12"
66
components = ["llvm-tools", "rustc-dev", "rust-src", "rustfmt"]

tests/ui/derive-invariant/helper-side-effect/expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
error[E0596]: cannot borrow `*x` as mutable, as it is behind a `&` reference
22
|
33
| #[safety_constraint({*(x.as_mut()) = 0; true})]
4-
| ^ `x` is a `&` reference, so the data it refers to cannot be borrowed as mutable
4+
| ^ `x` is a `&` reference, so it cannot be borrowed as mutable
55
|
66
help: consider specifying this binding's type
77
|

0 commit comments

Comments
 (0)