about summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuietMisdreavus <grey@quietmisdreavus.net>2018-11-01 08:58:04 -0500
committerQuietMisdreavus <grey@quietmisdreavus.net>2018-11-01 09:52:28 -0500
commitf36ed5b58d28dabad0d04903443df13a86b46aad (patch)
tree862b2c0f6852c96c2d5de016679632bb1dad90f8
parentcd407dfe74b3a4e3df1b4b747945473dbfee10dd (diff)
downloadrust-f36ed5b58d28dabad0d04903443df13a86b46aad.tar.gz
rust-f36ed5b58d28dabad0d04903443df13a86b46aad.zip
add env-logger to error-index-generator
-rw-r--r--src/tools/error_index_generator/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/error_index_generator/main.rs b/src/tools/error_index_generator/main.rs
index 40917cc5db0..a5556e1d570 100644
--- a/src/tools/error_index_generator/main.rs
+++ b/src/tools/error_index_generator/main.rs
@@ -10,6 +10,7 @@
 
 #![feature(rustc_private)]
 
+extern crate env_logger;
 extern crate syntax;
 extern crate rustdoc;
 extern crate serialize as rustc_serialize;
@@ -264,6 +265,7 @@ fn parse_args() -> (OutputFormat, PathBuf) {
 }
 
 fn main() {
+    env_logger::init();
     PLAYGROUND.with(|slot| {
         *slot.borrow_mut() = Some((None, String::from("https://play.rust-lang.org/")));
     });