Skip to content

Commit 1294774

Browse files
authored
Rollup merge of rust-lang#63781 - mati865:clippy, r=oli-obk,ehuss
Run Clippy without json-rendered flag Removed in rust-lang#62766 Replacing it with `--json=diagnostic-rendered-ansi` fails: ``` error: using `--json` requires also using `--error-format=json` ``` Running `./x.py clippy src/libstd` locally works fine (with colors) on Linux so I don't know if there is something to fix.
2 parents 3a1eb34 + 5cf43bd commit 1294774

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/bootstrap/builder.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -875,8 +875,7 @@ impl<'a> Builder<'a> {
875875
}
876876

877877
if cmd == "clippy" {
878-
extra_args.push_str("-Zforce-unstable-if-unmarked -Zunstable-options \
879-
--json-rendered=termcolor");
878+
extra_args.push_str("-Zforce-unstable-if-unmarked");
880879
}
881880

882881
if !extra_args.is_empty() {

0 commit comments

Comments
 (0)