From 7eddee6f7a8ddc530ca5f430f0d7f39c4289977d Mon Sep 17 00:00:00 2001 From: liv <819880950@qq.com> Date: Mon, 22 Apr 2019 18:43:39 +0800 Subject: [PATCH] add a slightly more helpful error message --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 01618b71..744888f1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -55,6 +55,7 @@ fn main() { "{} must be run from the rustlings directory", std::env::current_exe().unwrap().to_str().unwrap() ); + println!("Try `cd rustlings/`!"); std::process::exit(1); }