We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 208f973 commit 720832cCopy full SHA for 720832c
src/tools/error_index_generator/main.rs
@@ -1,7 +1,7 @@
1
#![feature(rustc_private)]
2
3
-extern crate env_logger;
4
extern crate rustc_ast;
+extern crate rustc_driver;
5
extern crate rustc_span;
6
7
use std::cell::RefCell;
@@ -282,7 +282,7 @@ fn parse_args() -> (OutputFormat, PathBuf) {
282
}
283
284
fn main() {
285
- env_logger::init();
+ rustc_driver::init_env_logger("RUST_LOG");
286
let (format, dst) = parse_args();
287
let result = rustc_ast::with_default_session_globals(move || main_with_result(format, &dst));
288
if let Err(e) = result {
0 commit comments