Skip to content

Commit 7896cff

Browse files
authored
Upgrade toolchain to 2024-09-07 (#3504)
Relevant upstream PR: rust-lang/rust#128776: The `TreatParams` enum variants were renamed. Resolves #3503 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 20eb00c commit 7896cff

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

kani-compiler/src/kani_middle/resolve.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,8 @@ where
586586
debug!(?name, ?ty, "resolve_in_primitive");
587587
let internal_ty = rustc_internal::internal(tcx, ty);
588588
let simple_ty =
589-
fast_reject::simplify_type(tcx, internal_ty, TreatParams::AsCandidateKey).unwrap();
589+
fast_reject::simplify_type(tcx, internal_ty, TreatParams::InstantiateWithInfer)
590+
.unwrap();
590591
let impls = tcx.incoherent_impls(simple_ty).unwrap();
591592
// Find the primitive impl.
592593
let item = impls

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

0 commit comments

Comments
 (0)