Skip to content

Commit 4a1e1fc

Browse files
authored
Upgrade Rust toolchain to 2024-03-14 (rust-lang#3081)
Upgrade Rust toolchain to 2024-03-14 Resolves rust-lang#3073 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 a52564d commit 4a1e1fc

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

kani-compiler/src/kani_queries/mod.rs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
55
use cbmc::{InternString, InternedString};
66
use kani_metadata::AssignsContract;
7-
use std::fmt::{Display, Formatter, Write};
87
use std::{
98
collections::HashMap,
109
path::PathBuf,
@@ -65,20 +64,3 @@ impl QueryDb {
6564
self.modifies_contracts.iter()
6665
}
6766
}
68-
69-
struct PrintList<I>(I);
70-
71-
impl<E: Display, I: Iterator<Item = E> + Clone> Display for PrintList<I> {
72-
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
73-
f.write_char('[')?;
74-
let mut is_first = true;
75-
for e in self.0.clone() {
76-
if is_first {
77-
f.write_str(", ")?;
78-
is_first = false;
79-
}
80-
e.fmt(f)?;
81-
}
82-
f.write_char(']')
83-
}
84-
}

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-03-11"
5+
channel = "nightly-2024-03-14"
66
components = ["llvm-tools-preview", "rustc-dev", "rust-src", "rustfmt"]

0 commit comments

Comments
 (0)