summaryrefslogtreecommitdiff
path: root/src/codegen/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/codegen/error.rs')
-rw-r--r--src/codegen/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/error.rs b/src/codegen/error.rs
index ccb76c5b..8bf00e54 100644
--- a/src/codegen/error.rs
+++ b/src/codegen/error.rs
@@ -20,7 +20,7 @@ impl fmt::Display for Error {
}
impl error::Error for Error {
- fn cause(&self) -> Option<&error::Error> {
+ fn cause(&self) -> Option<&dyn error::Error> {
None
}