From 52597893eeb136661c8ef0deb23e2a435132ea10 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 6 Jan 2020 07:37:17 -0800 Subject: [PATCH] Implement std::error::Error for Error (#464) --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 726d128..1c600d4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -167,6 +167,8 @@ impl Display for Error { } } +impl std::error::Error for Error {} + /// Configuration used to represent an invocation of a C compiler. /// /// This can be used to figure out what compiler is in use, what the arguments