Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit a886f99

Browse files
authored
Merge pull request #1260 from JohnTitor/show-fixed-ices-paths
2 parents 29421e3 + 4bcd28c commit a886f99

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,16 @@ fn main() -> Result<()> {
1515
})
1616
.collect::<Result<Vec<TestResult>, _>>()?;
1717

18+
let mut paths = Vec::new();
1819
for result in &failed {
1920
eprintln!("\n{}", result);
21+
paths.push(result.path());
2022
}
2123

2224
match failed.len() {
2325
0 => eprintln!("\nFinished: No fixed ICEs"),
24-
len => bail!("{} ICEs are now fixed!", len),
26+
1 => bail!("1 ICE ({paths:?}) is now fixed!"),
27+
len => bail!("{len} ICEs ({paths:?}) are now fixed!"),
2528
}
2629

2730
Ok(())

0 commit comments

Comments
 (0)