Closed shepmaster closed 1 year ago
It should be &'a dyn Error + 'static. Doing this means that the public constructor needs to be modified, making it technically a breaking change.
&'a dyn Error + 'static
Hmm. It turns out we rely on the current behavior in Report. Instead of switching the hard-coded lifetimes from + 'a to + 'static, we can introduce a second lifetime.
Report
+ 'a
+ 'static
It should be
&'a dyn Error + 'static
. Doing this means that the public constructor needs to be modified, making it technically a breaking change.