Debian Codegraph @

tests/ui/mysql/gated/chrono.stderr

raw
1 error: optional sqlx feature `chrono` required for type DATE of column #1 ("date")
2 --> $DIR/chrono.rs:2:13
3 |
4 2 | let _ = sqlx::query!("select CONVERT(now(), DATE) date");
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 error: optional sqlx feature `chrono` required for type TIME of column #1 ("time")
10 --> $DIR/chrono.rs:4:13
11 |
12 4 | let _ = sqlx::query!("select CONVERT(now(), TIME) time");
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14 |
15 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
16
17 error: optional sqlx feature `chrono` required for type DATETIME of column #1 ("datetime")
18 --> $DIR/chrono.rs:6:13
19 |
20 6 | let _ = sqlx::query!("select CONVERT(now(), DATETIME) datetime");
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22 |
23 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)