Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

error[E0658]: async fn return type cannot contain a projection or Self that references lifetimes from a parent scope #53

Closed
awtGerry opened this issue Jan 6, 2025 · 0 comments · Fixed by #55
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@awtGerry
Copy link
Owner

awtGerry commented Jan 6, 2025

error[E0658]: async fn return type cannot contain a projection or Self that references lifetimes from a parent scope
--> /home/gerry/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.4/src/raw_sql.rs:143:10
|
143 | ) -> crate::Result<<E::Database as Database>::QueryResult>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #103532 rust-lang/rust#103532 for more information

error[E0658]: async fn return type cannot contain a projection or Self that references lifetimes from a parent scope
--> /home/gerry/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.4/src/raw_sql.rs:212:10
|
212 | ) -> crate::Result<Vec<<E::Database as Database>::Row>>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #103532 rust-lang/rust#103532 for more information

error[E0658]: async fn return type cannot contain a projection or Self that references lifetimes from a parent scope
--> /home/gerry/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.4/src/raw_sql.rs:236:10
|
236 | ) -> crate::Result<<E::Database as Database>::Row>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #103532 rust-lang/rust#103532 for more information

error[E0658]: async fn return type cannot contain a projection or Self that references lifetimes from a parent scope
--> /home/gerry/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.7.4/src/raw_sql.rs:260:10
|
260 | ) -> crate::Result<<E::Database as Database>::Row>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #103532 rust-lang/rust#103532 for more information

Compiling flume v0.11.0
For more information about this error, try rustc --explain E0658.
error: could not compile sqlx-core (lib) due to 4 previous errors

@awtGerry awtGerry self-assigned this Jan 6, 2025
@awtGerry awtGerry added bug Something isn't working help wanted Extra attention is needed labels Jan 6, 2025
@awtGerry awtGerry linked a pull request Jan 6, 2025 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant