diff options
author | Melody Horn <melody@boringcactus.com> | 2021-04-02 20:12:11 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-04-02 20:12:11 -0600 |
commit | 1b3e677507c17388bc2ae85ad5a6c03a9dff139b (patch) | |
tree | 3d585a29fd9b8153daabecf8272689f7794c5d4c /src/makefile | |
parent | aa017eb4dc9f070c35711fdf908171938921c422 (diff) | |
download | makers-1b3e677507c17388bc2ae85ad5a6c03a9dff139b.tar.gz makers-1b3e677507c17388bc2ae85ad5a6c03a9dff139b.zip |
give target name in error message
Diffstat (limited to 'src/makefile')
-rw-r--r-- | src/makefile/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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))?, )) } |