From 9b938dac433605dfdf5bf373a39c409dbed5c06f Mon Sep 17 00:00:00 2001 From: ritchie Date: Fri, 19 Jan 2024 11:12:25 +0100 Subject: [PATCH] feat: improve panic message --- crates/polars-core/src/utils/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/polars-core/src/utils/mod.rs b/crates/polars-core/src/utils/mod.rs index 9455ac2d7411..b61ba740b04c 100644 --- a/crates/polars-core/src/utils/mod.rs +++ b/crates/polars-core/src/utils/mod.rs @@ -359,7 +359,7 @@ macro_rules! with_match_physical_numeric_polars_type {( UInt64 => __with_ty__! { UInt64Type }, Float32 => __with_ty__! { Float32Type }, Float64 => __with_ty__! { Float64Type }, - _ => unimplemented!() + dt => panic!("not implemented for dtype: {}", dt) } })}