From b5308f648be8941a848d621e9b01d3e629546997 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Sun, 19 Nov 2023 08:17:17 -0800 Subject: [PATCH] Fix tests to run on stable. --- crates/rustfix/tests/parse_and_replace.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/rustfix/tests/parse_and_replace.rs b/crates/rustfix/tests/parse_and_replace.rs index 1f8c5610c..c4d6f8b99 100644 --- a/crates/rustfix/tests/parse_and_replace.rs +++ b/crates/rustfix/tests/parse_and_replace.rs @@ -29,8 +29,7 @@ fn compile(file: &Path, mode: &str) -> Result { let mut args: Vec = vec![ file.into(), - "--error-format=pretty-json".into(), - "-Zunstable-options".into(), + "--error-format=json".into(), "--emit=metadata".into(), "--crate-name=rustfix_test".into(), "--out-dir".into(),