feat: Remind the user of the hint option (#425)

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:
Alexx Roche 2020-07-08 11:51:12 +02:00 committed by GitHub
parent 75c0053bb1
commit 9f61db5dbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,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(());
} }
}; };