Update error index generator to tracing
This commit is contained in:
parent
208f973d1f
commit
720832c644
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue