From ed390a51cac08ec238b45c793a5ddd65fcae1b78 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Tue, 18 Jun 2019 23:28:56 +1000 Subject: Add dyn to be rust nightly compatible (#2538) --- core/modules.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/modules.rs') diff --git a/core/modules.rs b/core/modules.rs index 5a0e33798..a8252bea5 100644 --- a/core/modules.rs +++ b/core/modules.rs @@ -597,7 +597,7 @@ mod tests { } impl Error for MockError { - fn cause(&self) -> Option<&Error> { + fn cause(&self) -> Option<&dyn Error> { unimplemented!() } } -- cgit v1.2.3