fix(postgres): dead code StatementId::UNNAMED

This commit is contained in:
Austin Bonander 2024-08-21 13:00:10 -07:00
parent 781b659352
commit 77982cb407

View file

@ -10,7 +10,6 @@ pub(crate) use sqlx_core::io::*;
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub(crate) struct StatementId(IdInner);
#[allow(dead_code)]
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub(crate) struct PortalId(IdInner);
@ -18,6 +17,7 @@ pub(crate) struct PortalId(IdInner);
struct IdInner(Option<NonZeroU32>);
impl StatementId {
#[allow(dead_code)]
pub const UNNAMED: Self = Self(IdInner::UNNAMED);
pub const NAMED_START: Self = Self(IdInner::NAMED_START);