Skip to content

Commit ca1b2ce

Browse files
author
Remi Delmas
committed
Update toolchain to nightly-2023-09-19
Propagate changes from rust-lang/rust#115748.
1 parent 43392e5 commit ca1b2ce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

kani-compiler/src/kani_middle/reachability.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,8 +457,8 @@ impl<'a, 'tcx> MirVisitor<'tcx> for MonoItemsFnCollector<'a, 'tcx> {
457457
match self.tcx.const_eval_resolve(ParamEnv::reveal_all(), un_eval, None) {
458458
// The `monomorphize` call should have evaluated that constant already.
459459
Ok(const_val) => const_val,
460-
Err(ErrorHandled::TooGeneric) => span_bug!(
461-
self.body.source_info(location).span,
460+
Err(ErrorHandled::TooGeneric(span)) => span_bug!(
461+
span,
462462
"Unexpected polymorphic constant: {:?}",
463463
literal
464464
),

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

0 commit comments

Comments
 (0)