Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This does not currently compile. error[E0495]: cannot infer an appropriate lifetime due to conflicting requirements --> tests/test_transparent.rs:63:14 | 63 | #[derive(Error, Debug)] | ^^^^^ | note: first, the lifetime cannot outlive the lifetime `'a` as defined on the impl at 65:18... --> tests/test_transparent.rs:65:18 | 65 | struct Error<'a> { | ^^ note: ...so that the types are compatible --> tests/test_transparent.rs:63:14 | 63 | #[derive(Error, Debug)] | ^^^^^ = note: expected `&test_non_static::ErrorKind<'_>` found `&test_non_static::ErrorKind<'a>` = note: but, the lifetime must be valid for the static lifetime... note: ...so that the type `test_non_static::ErrorKind<'_>` will meet its required lifetime bounds --> tests/test_transparent.rs:63:14 | 63 | #[derive(Error, Debug)] | ^^^^^ = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)
- Loading branch information