mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 23:35:20 +00:00
16 lines
767 B
Plaintext
16 lines
767 B
Plaintext
error: optional feature `uuid` required for type UUID of column #1 ("uuid")
|
|
--> $DIR/uuid.rs:2:13
|
|
|
|
|
2 | let _ = sqlx::query!("select 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid");
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
|
|
|
error: optional feature `uuid` required for type UUID of param #1
|
|
--> $DIR/uuid.rs:3:13
|
|
|
|
|
3 | let _ = sqlx::query!("select $1::uuid", ());
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|