Update compiler/rustc_driver/src/lib.rs
Co-authored-by: Joshua Nelson <github@jyn.dev>
This commit is contained in:
parent
e7f04857ef
commit
eb67bf9368
1 changed files with 1 additions and 1 deletions
|
@ -1260,7 +1260,7 @@ pub fn init_env_logger(env: &str) {
|
|||
|
||||
let filter = match std::env::var(env) {
|
||||
Ok(env) => EnvFilter::from_env(env),
|
||||
_ => EnvFilter::default().add_directive(filter::Directive::from(LevelFilter: WARN)),
|
||||
_ => EnvFilter::default().add_directive(filter::Directive::from(LevelFilter::WARN)),
|
||||
};
|
||||
|
||||
let color_logs = match std::env::var(String::from(env) + "_COLOR") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue