We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39b2137 commit 5fc4149Copy full SHA for 5fc4149
src/librustdoc/config.rs
@@ -260,11 +260,11 @@ impl Options {
260
Some("human") => ErrorOutputType::HumanReadable(HumanReadableErrorType::Default(color)),
261
Some("json") => ErrorOutputType::Json {
262
pretty: false,
263
- json_rendered: HumanReadableErrorType::Default(color),
+ json_rendered: HumanReadableErrorType::Default(ColorConfig::Never),
264
},
265
Some("pretty-json") => ErrorOutputType::Json {
266
pretty: true,
267
268
269
Some("short") => ErrorOutputType::HumanReadable(HumanReadableErrorType::Short(color)),
270
Some(arg) => {
0 commit comments