Skip to content

Commit 227155a

Browse files
committed
f_errors: remove unused variant from ColumnSpecParseErrorKind
In #1135 we removed a check for the table spec across different column specs. Since we wanted to release it in a patch release, the corresponding error variant was not removed (not to introduce API breaking changes). This commit removes the unused variant.
1 parent e66f2e3 commit 227155a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

scylla-cql/src/frame/frame_errors.rs

-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ pub use super::request::{
1111
startup::StartupSerializationError,
1212
};
1313

14-
use super::response::result::TableSpec;
1514
use super::response::CqlResponseKind;
1615
use super::TryFromPrimitiveError;
1716
use thiserror::Error;
@@ -425,9 +424,6 @@ pub struct ColumnSpecParseError {
425424
pub enum ColumnSpecParseErrorKind {
426425
#[error("Invalid table spec: {0}")]
427426
TableSpecParseError(#[from] TableSpecParseError),
428-
// TODO: remove this variant before the next major release.
429-
#[error("Table spec differs across columns - got specs: {0:?} and {1:?}")]
430-
TableSpecDiffersAcrossColumns(TableSpec<'static>, TableSpec<'static>),
431427
#[error("Malformed column name: {0}")]
432428
ColumnNameParseError(#[from] LowLevelDeserializationError),
433429
#[error("Invalid column type: {0}")]

0 commit comments

Comments
 (0)