Skip to content

Commit

Permalink
Update rust toolchain to nightly-2023-09-19 (#2778)
Browse files Browse the repository at this point in the history
Co-authored-by: Remi Delmas <delmasrd@amazon.com>
  • Loading branch information
remi-delmas-3000 and Remi Delmas authored Sep 19, 2023
1 parent 43392e5 commit cc09efe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions kani-compiler/src/kani_middle/reachability.rs
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,9 @@ impl<'a, 'tcx> MirVisitor<'tcx> for MonoItemsFnCollector<'a, 'tcx> {
match self.tcx.const_eval_resolve(ParamEnv::reveal_all(), un_eval, None) {
// The `monomorphize` call should have evaluated that constant already.
Ok(const_val) => const_val,
Err(ErrorHandled::TooGeneric) => span_bug!(
self.body.source_info(location).span,
"Unexpected polymorphic constant: {:?}",
literal
),
Err(ErrorHandled::TooGeneric(span)) => {
span_bug!(span, "Unexpected polymorphic constant: {:?}", literal)
}
Err(error) => {
warn!(?error, "Error already reported");
return;
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT

[toolchain]
channel = "nightly-2023-09-18"
channel = "nightly-2023-09-19"
components = ["llvm-tools-preview", "rustc-dev", "rust-src", "rustfmt"]

0 comments on commit cc09efe

Please sign in to comment.