Navigation Menu

Skip to content

Commit

Permalink
Update error index generator to tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Jul 31, 2020
1 parent 208f973 commit 720832c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/error_index_generator/main.rs
@@ -1,7 +1,7 @@
#![feature(rustc_private)]

extern crate env_logger;
extern crate rustc_ast;
extern crate rustc_driver;
extern crate rustc_span;

use std::cell::RefCell;
Expand Down Expand Up @@ -282,7 +282,7 @@ fn parse_args() -> (OutputFormat, PathBuf) {
}

fn main() {
env_logger::init();
rustc_driver::init_env_logger("RUST_LOG");
let (format, dst) = parse_args();
let result = rustc_ast::with_default_session_globals(move || main_with_result(format, &dst));
if let Err(e) = result {
Expand Down

0 comments on commit 720832c

Please sign in to comment.