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.
2 parents 65978ed + 3868c9f commit 34ab668Copy full SHA for 34ab668
src/tools/miri/tests/ui.rs
@@ -296,12 +296,13 @@ fn main() -> Result<()> {
296
297
fn run_dep_mode(target: String, mut args: impl Iterator<Item = OsString>) -> Result<()> {
298
let path = args.next().expect("./miri run-dep must be followed by a file name");
299
- let config = miri_config(
+ let mut config = miri_config(
300
&target,
301
"",
302
Mode::Yolo { rustfix: RustfixMode::Disabled },
303
/* with dependencies */ true,
304
);
305
+ config.program.args.clear(); // remove the `--error-format` that ui_test adds by default
306
let dep_args = config.build_dependencies()?;
307
308
let mut cmd = config.program.build(&config.out_dir);
0 commit comments