Skip to content

Commit e5c1d51

Browse files
authored
Update config.rs
1 parent d1d9cfc commit e5c1d51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/session/config.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1476,8 +1476,8 @@ pub fn build_session_options_and_crate_config(matches: &getopts::Matches)
14761476
let debugging_opts = build_debugging_options(matches, error_format);
14771477

14781478
if !debugging_opts.unstable_options && error_format == ErrorOutputType::Json(true) {
1479-
early_error(ErrorOutputType::Json(false), "--error-format=pretty-json is unstable \
1480-
(use -Zpretty-json-error-format)");
1479+
early_error(ErrorOutputType::Json(false),
1480+
"--error-format=pretty-json is unstable");
14811481
}
14821482

14831483
let mut output_types = BTreeMap::new();

0 commit comments

Comments
 (0)