Skip to content

Commit 1faf38d

Browse files
committed
Rename Yolo mode to RunDep
1 parent 008326d commit 1faf38d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/ui.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ use ui_test::{status_emitter, CommandBuilder, Config, Format, Match, OutputConfl
1717
#[derive(Copy, Clone, Debug)]
1818
enum Mode {
1919
Pass,
20+
/// Requires annotations
2021
Fail,
21-
Yolo,
22+
/// Not used for tests, but for `miri run --dep`
23+
RunDep,
2224
Panic,
2325
}
2426

@@ -330,7 +332,7 @@ fn main() -> Result<()> {
330332
}
331333

332334
fn run_dep_mode(target: String, args: impl Iterator<Item = OsString>) -> Result<()> {
333-
let mut config = miri_config(&target, "", Mode::Yolo, /* with dependencies */ true);
335+
let mut config = miri_config(&target, "", Mode::RunDep, /* with dependencies */ true);
334336
config.comment_defaults.base().custom.remove("edition");
335337
config.fill_host_and_target()?;
336338
config.program.args = args.collect();

0 commit comments

Comments
 (0)