You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: lifetime may not live long enough
--> /home/omikron/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rorm-sql-0.8.2/src/lib.rs:398:33
|
383 | pub fn delete<'until_build, 'post_query>(
| ------------ ----------- lifetime `'post_query` defined here
| |
| lifetime `'until_build` defined here
...
398 | DBImpl::Postgres => DeleteImpl::Postgres(d),
| ^^^^^^^^^^^^^^^^^^^^^^^ method was supposed to return data with lifetime `'until_build` but it is returning data with lifetime `'post_query`
|
= help: consider adding the following bound: `'post_query: 'until_build`
2nd:
error: lifetime may not live long enough
--> /home/omikron/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rorm-sql-0.8.2/src/lib.rs:425:33
|
408 | pub fn update<'until_build, 'post_query>(
| ------------ ----------- lifetime `'post_query` defined here
| |
| lifetime `'until_build` defined here
...
425 | DBImpl::Postgres => UpdateImpl::Postgres(d),
| ^^^^^^^^^^^^^^^^^^^^^^^ method was supposed to return data with lifetime `'until_build` but it is returning data with lifetime `'post_query`
|
= help: consider adding the following bound: `'post_query: 'until_build`
```
The text was updated successfully, but these errors were encountered:
1st:
2nd:
The text was updated successfully, but these errors were encountered: