Skip to content

Commit

Permalink
Update config.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Nov 3, 2017
1 parent d1d9cfc commit e5c1d51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc/session/config.rs
Expand Up @@ -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();
Expand Down

0 comments on commit e5c1d51

Please sign in to comment.