mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-08 03:39:18 +00:00
Optimize: add the exercise file path to the bottom of the output log
This commit is contained in:
parent
51c8da06b0
commit
c1f2219ebb
@ -127,6 +127,7 @@ fn compile_and_test(
|
||||
exercise
|
||||
);
|
||||
println!("{}", output.stdout);
|
||||
println!("View: {}", exercise);
|
||||
Err(())
|
||||
}
|
||||
}
|
||||
@ -149,6 +150,7 @@ fn compile<'a>(
|
||||
exercise
|
||||
);
|
||||
println!("{}", output.stderr);
|
||||
println!("View: {}", exercise);
|
||||
Err(())
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user