1
Fork 0

Update config.rs

This commit is contained in:
Oliver Schneider 2017-11-03 16:32:03 +01:00 committed by GitHub
parent d1d9cfc722
commit e5c1d512e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1476,8 +1476,8 @@ pub fn build_session_options_and_crate_config(matches: &getopts::Matches)
let debugging_opts = build_debugging_options(matches, error_format);
if !debugging_opts.unstable_options && error_format == ErrorOutputType::Json(true) {
early_error(ErrorOutputType::Json(false), "--error-format=pretty-json is unstable \
(use -Zpretty-json-error-format)");
early_error(ErrorOutputType::Json(false),
"--error-format=pretty-json is unstable");
}
let mut output_types = BTreeMap::new();