diff --git a/src/eyreish/error.rs b/src/eyreish/error.rs index 14551f7..13c71c3 100644 --- a/src/eyreish/error.rs +++ b/src/eyreish/error.rs @@ -418,7 +418,7 @@ impl Report { } /// Provide source code for this error - pub fn with_source_code(self, source_code: impl SourceCode + Send + Sync + 'static) -> Report { + pub fn with_source_code(self, source_code: impl SourceCode + 'static) -> Report { WithSourceCode { source_code, error: self,