From: Esteban Kuber Date: Thu, 7 Mar 2019 03:57:04 +0000 (-0800) Subject: Fix incorrect default X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=7694ca1105b55d4f1ce9d7b6fc6feb9c3c9033c5;p=rust.git Fix incorrect default --- diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs index dfd8e4dd571..70cf36c3869 100644 --- a/src/librustc/session/config.rs +++ b/src/librustc/session/config.rs @@ -3212,7 +3212,7 @@ fn test_debugging_options_tracking_hash() { assert!(reference.dep_tracking_hash() != opts.dep_tracking_hash()); opts = reference.clone(); - opts.debugging_opts.treat_err_as_bug = Some(1); + opts.debugging_opts.treat_err_as_bug = Some(0); assert!(reference.dep_tracking_hash() != opts.dep_tracking_hash()); opts = reference.clone();