Closed sebCS222 closed 2 months ago
After upgrading to sqlx 0.8.1 from 0.6 I run into an error in .cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-postgres-0.8.1/src/types/cube.rs:307:33 I correct it by importing: use std::mem::size_of; in cube.rs.
impl Header { const PACKED_WIDTH: usize = size_of::();
rustc --version
Please see https://github.com/launchbadge/sqlx/issues/3460#issuecomment-2308435214 => please either
Bug Description
After upgrading to sqlx 0.8.1 from 0.6 I run into an error in .cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-postgres-0.8.1/src/types/cube.rs:307:33 I correct it by importing: use std::mem::size_of; in cube.rs.
Minimal Reproduction
impl Header { const PACKED_WIDTH: usize = size_of::();
Info
rustc --version
: 1.77.2