summaryrefslogtreecommitdiff
path: root/src/librustc/session
diff options
context:
space:
mode:
authorEsteban Kuber <estebank@users.noreply.github.com>2019-03-06 19:57:04 -0800
committerGitHub <noreply@github.com>2019-03-06 19:57:04 -0800
commit7694ca1105b55d4f1ce9d7b6fc6feb9c3c9033c5 (patch)
tree7ca8ef89756d3b11783bc904dee0809c78492b80 /src/librustc/session
parent7a55a004fa3b3eb933637a4aeec9b8576b31a033 (diff)
downloadrust-7694ca1105b55d4f1ce9d7b6fc6feb9c3c9033c5.tar.gz
Fix incorrect default
Diffstat (limited to 'src/librustc/session')
-rw-r--r--src/librustc/session/config.rs2
1 files changed, 1 insertions, 1 deletions
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 @@ mod tests {
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();