From 1b3e677507c17388bc2ae85ad5a6c03a9dff139b Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Fri, 2 Apr 2021 20:12:11 -0600 Subject: give target name in error message --- src/makefile/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/makefile/mod.rs b/src/makefile/mod.rs index 82d7d39..3de4975 100644 --- a/src/makefile/mod.rs +++ b/src/makefile/mod.rs @@ -543,7 +543,7 @@ impl<'a> Makefile<'a> { Ok(Rc::clone( targets .get(name) - .ok_or_else(|| eyre!("Target not found!"))?, + .ok_or_else(|| eyre!("Target {:?} not found!", name))?, )) } -- cgit v1.2.3