Skip to content

Commit 537d820

Browse files
authored
Upgrade Rust toolchain to 2025-09-10 (#4354)
Relevant upstream PR: - rust-lang/rust#145717 (rename erase_regions to erase_and_anonymize_regions) Resolves: #4353 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 54bb431 commit 537d820

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kani-compiler/src/codegen_cprover_gotoc/codegen/typ.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ impl<'tcx, 'r> GotocCtx<'tcx, 'r> {
424424
if let Some(principal) = binder.principal() {
425425
let poly = principal.with_self_ty(self.tcx, t);
426426
let poly = self.tcx.instantiate_bound_regions_with_erased(poly);
427-
let poly = self.tcx.erase_regions(poly);
427+
let poly = self.tcx.erase_and_anonymize_regions(poly);
428428
let mut flds = self
429429
.tcx
430430
.vtable_entries(poly)

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-09-09"
5+
channel = "nightly-2025-09-10"
66
components = ["llvm-tools", "rustc-dev", "rust-src", "rustfmt"]

0 commit comments

Comments
 (0)