]> git.lizzy.rs Git - rust.git/commitdiff
Fix incorrect default
authorEsteban Kuber <estebank@users.noreply.github.com>
Thu, 7 Mar 2019 03:57:04 +0000 (19:57 -0800)
committerGitHub <noreply@github.com>
Thu, 7 Mar 2019 03:57:04 +0000 (19:57 -0800)
src/librustc/session/config.rs

index dfd8e4dd571b5d0e32cab7bfb7b8a3b7a2e8a91e..70cf36c38691b9fcda3c2f2cdcc1c39b79445bc3 100644 (file)
@@ -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();