Debian Codegraph @

tests/ui/postgres/gated/chrono.stderr

raw
1 error: optional sqlx feature `time` required for type DATE of column #1 ("now")
2 --> $DIR/chrono.rs:2:13
3 |
4 2 | let _ = sqlx::query!("select now()::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 `time` required for type TIME of column #1 ("now")
10 --> $DIR/chrono.rs:4:13
11 |
12 4 | let _ = sqlx::query!("select now()::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 `time` required for type TIMESTAMP of column #1 ("now")
18 --> $DIR/chrono.rs:6:13
19 |
20 6 | let _ = sqlx::query!("select now()::timestamp");
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22 |
23 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
24
25 error: optional sqlx feature `time` required for type TIMESTAMPTZ of column #1 ("now")
26 --> $DIR/chrono.rs:8:13
27 |
28 8 | let _ = sqlx::query!("select now()::timestamptz");
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30 |
31 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
32
33 error: optional sqlx feature `time` required for type DATE of param #1
34 --> $DIR/chrono.rs:10:13
35 |
36 10 | let _ = sqlx::query!("select $1::date", ());
37 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38 |
39 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
40
41 error: optional sqlx feature `time` required for type TIME of param #1
42 --> $DIR/chrono.rs:12:13
43 |
44 12 | let _ = sqlx::query!("select $1::time", ());
45 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46 |
47 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
48
49 error: optional sqlx feature `time` required for type TIMESTAMP of param #1
50 --> $DIR/chrono.rs:14:13
51 |
52 14 | let _ = sqlx::query!("select $1::timestamp", ());
53 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
54 |
55 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
56
57 error: optional sqlx feature `time` required for type TIMESTAMPTZ of param #1
58 --> $DIR/chrono.rs:16:13
59 |
60 16 | let _ = sqlx::query!("select $1::timestamptz", ());
61 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
62 |
63 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)