Skip to content

Commit f36ed5b

Browse files
add env-logger to error-index-generator
1 parent cd407df commit f36ed5b

File tree

1 file changed

+2
-0
lines changed
  • src/tools/error_index_generator

1 file changed

+2
-0
lines changed

src/tools/error_index_generator/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
#![feature(rustc_private)]
1212

13+
extern crate env_logger;
1314
extern crate syntax;
1415
extern crate rustdoc;
1516
extern crate serialize as rustc_serialize;
@@ -264,6 +265,7 @@ fn parse_args() -> (OutputFormat, PathBuf) {
264265
}
265266

266267
fn main() {
268+
env_logger::init();
267269
PLAYGROUND.with(|slot| {
268270
*slot.borrow_mut() = Some((None, String::from("https://play.rust-lang.org/")));
269271
});

0 commit comments

Comments
 (0)