Skip to content

warning in build #348

Description

@rechjq

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> {
| +++

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions