Debian Codegraph @

tests/ui/postgres/gated/ipnetwork.stderr

raw
1 error: optional sqlx feature `ipnetwork` required for type INET of column #1 ("inet")
2 --> $DIR/ipnetwork.rs:2:13
3 |
4 2 | let _ = sqlx::query!("select '127.0.0.1'::inet");
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 `ipnetwork` required for type CIDR of column #1 ("cidr")
10 --> $DIR/ipnetwork.rs:4:13
11 |
12 4 | let _ = sqlx::query!("select '2001:4f8:3:ba::/64'::cidr");
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 `ipnetwork` required for type INET of param #1
18 --> $DIR/ipnetwork.rs:6:13
19 |
20 6 | let _ = sqlx::query!("select $1::inet", ());
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 `ipnetwork` required for type CIDR of param #1
26 --> $DIR/ipnetwork.rs:8:13
27 |
28 8 | let _ = sqlx::query!("select $1::cidr", ());
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30 |
31 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)