mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-07 03:09:19 +00:00
Remind the user of the hint option
Suggestion from AbdouSeck https://github.com/rust-lang/rustlings/issues/424#issuecomment-639870331 for when the student's code has errors.
This commit is contained in:
parent
0dd1c6ca6b
commit
601759e428
@ -54,6 +54,7 @@ fn compile_and_run_interactively(exercise: &Exercise) -> Result<bool, ()> {
|
|||||||
Err(output) => {
|
Err(output) => {
|
||||||
warn!("Ran {} with errors", exercise);
|
warn!("Ran {} with errors", exercise);
|
||||||
println!("{}", output.stdout);
|
println!("{}", output.stdout);
|
||||||
|
println!("{}", output.stderr);
|
||||||
return Err(());
|
return Err(());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user