Skip to content

Commit 5259789

Browse files
dtolnayalexcrichton
authored andcommitted
Implement std::error::Error for Error (#464)
1 parent c5c2384 commit 5259789

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ impl Display for Error {
167167
}
168168
}
169169

170+
impl std::error::Error for Error {}
171+
170172
/// Configuration used to represent an invocation of a C compiler.
171173
///
172174
/// This can be used to figure out what compiler is in use, what the arguments

0 commit comments

Comments
 (0)