diff --git a/src/diagnostic.rs b/src/diagnostic.rs index f49a6f8..445a8f4 100644 --- a/src/diagnostic.rs +++ b/src/diagnostic.rs @@ -8,7 +8,7 @@ pub trait Diagnostic<'s>: Sized + private::Sealed { type Subject: private::IntoOwned; /// Combine the error with its subject to generate a [`Report`]. - fn into_report(self, subject: impl Into) -> Report<'s, Self> { + fn into_report(self, subject: impl Into) -> Report { Report::new(self, subject) } @@ -42,15 +42,15 @@ impl From