Skip to content

Commit 0f25184

Browse files
committed
Update the rust-toolchain
1 parent b672e9b commit 0f25184

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

kani-compiler/src/session.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use rustc_errors::{
99
ColorConfig, Diagnostic, TerminalUrl,
1010
};
1111
use rustc_session::config::ErrorOutputType;
12-
use rustc_session::EarlyErrorHandler;
12+
use rustc_session::EarlyDiagCtxt;
1313
use std::io::IsTerminal;
1414
use std::panic;
1515
use std::sync::LazyLock;
@@ -71,7 +71,7 @@ pub fn init_session(args: &Arguments, json_hook: bool) {
7171
// Initialize the rustc logger using value from RUSTC_LOG. We keep the log control separate
7272
// because we cannot control the RUSTC log format unless if we match the exact tracing
7373
// version used by RUSTC.
74-
let handler = EarlyErrorHandler::new(ErrorOutputType::default());
74+
let handler = EarlyDiagCtxt::new(ErrorOutputType::default());
7575
rustc_driver::init_rustc_env_logger(&handler);
7676

7777
// Install Kani panic hook.

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

0 commit comments

Comments
 (0)