]> git.lizzy.rs Git - rust.git/commitdiff
Update config.rs
authorOliver Schneider <oli-obk@users.noreply.github.com>
Fri, 3 Nov 2017 15:32:03 +0000 (16:32 +0100)
committerGitHub <noreply@github.com>
Fri, 3 Nov 2017 15:32:03 +0000 (16:32 +0100)
src/librustc/session/config.rs

index 7a5b3afe5ae7da48eb27b5a4914ccd3d56fbb8cb..94cc22f11a00371f6a3085fee470a4f2bd8a77c9 100644 (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();