提交 720832c6 编写于 作者: O Oliver Scherer

Update error index generator to tracing

上级 208f973d
#![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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册