We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c302b2 commit 4334f57Copy full SHA for 4334f57
src/driver.rs
@@ -11,10 +11,8 @@
11
extern crate rustc_driver;
12
extern crate rustc_errors;
13
extern crate rustc_interface;
14
-extern crate rustc_middle;
15
16
use rustc_interface::interface;
17
-use rustc_middle::ty::TyCtxt;
18
use rustc_tools_util::VersionInfo;
19
20
use std::borrow::Cow;
@@ -168,7 +166,7 @@ fn report_clippy_ice(info: &panic::PanicInfo<'_>, bug_report_url: &str) {
168
166
169
167
let num_frames = if backtrace { None } else { Some(2) };
170
171
- TyCtxt::try_print_query_stack(&handler, num_frames);
+ interface::try_print_query_stack(&handler, num_frames);
172
}
173
174
fn toolchain_path(home: Option<String>, toolchain: Option<String>) -> Option<PathBuf> {
0 commit comments