File: ipnetwork.stderr

package info (click to toggle)
rust-sqlx 0.8.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,744 kB
  • sloc: sql: 335; python: 268; sh: 71; makefile: 2
file content (31 lines) | stat: -rw-r--r-- 1,353 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
error: optional sqlx feature `ipnetwork` required for type INET of column #1 ("inet")
 --> $DIR/ipnetwork.rs:2:13
  |
2 |     let _ = sqlx::query!("select '127.0.0.1'::inet");
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: optional sqlx feature `ipnetwork` required for type CIDR of column #1 ("cidr")
 --> $DIR/ipnetwork.rs:4:13
  |
4 |     let _ = sqlx::query!("select '2001:4f8:3:ba::/64'::cidr");
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: optional sqlx feature `ipnetwork` required for type INET of param #1
 --> $DIR/ipnetwork.rs:6:13
  |
6 |     let _ = sqlx::query!("select $1::inet", ());
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: optional sqlx feature `ipnetwork` required for type CIDR of param #1
 --> $DIR/ipnetwork.rs:8:13
  |
8 |     let _ = sqlx::query!("select $1::cidr", ());
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)