error[E0425]: cannot find function `size_of` in this scope
--> sqlx-postgres/src/types/cube.rs:307:33
|
307 | const PACKED_WIDTH: usize = size_of::<u32>();
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use core::mem::size_of;
|
1 + use std::mem::size_of;
|
Info
SQLx version: 0.8.1
SQLx features enabled: n/a
Operating system: FreeBSD 14.1
rustc --version: rustc 1.80.0-nightly (7d83a4c13 2024-05-06) (built from a source tarball)
Bug Description
Info
rustc --version
: rustc 1.80.0-nightly (7d83a4c13 2024-05-06) (built from a source tarball)