-
Notifications
You must be signed in to change notification settings - Fork 34
Description
warning: hiding a lifetime that's elided elsewhere is confusing
--> eventually/src/event/store.rs:27:9
|
27 | &self,
| ^^^^^ the lifetime is elided here
...
30 | ) -> event::Stream<StreamId, Event, Self::Error>;
| ------------------------------------------- the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: #[warn(mismatched_lifetime_syntaxes)] on by default
help: use '_ for type paths
|
30 | ) -> event::Stream<'_, StreamId, Event, Self::Error>;
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> eventually/src/event/store.rs:131:15
|
131 | fn stream(&self, id: &Id, select: event::VersionSelect) -> event::Stream<Id, Evt, Self::Error> {
| ^^^^^ the lifetime is elided here ----------------------------------- the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use '_ for type paths
|
131 | fn stream(&self, id: &Id, select: event::VersionSelect) -> event::Stream<'_, Id, Evt, Self::Error> {
| +++
warning: hiding a lifetime that's elided elsewhere is confusing
--> eventually/src/event/store.rs:270:9
|
270 | &self,
| ^^^^^ the lifetime is elided here
...
273 | ) -> event::Stream<StreamId, Event, Self::Error> {
| ------------------------------------------- the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use '_ for type paths
|
273 | ) -> event::Stream<'_, StreamId, Event, Self::Error> {
| +++