diff --git a/src/frame/base.rs b/src/frame/base.rs index b172b18..69c7ee7 100644 --- a/src/frame/base.rs +++ b/src/frame/base.rs @@ -602,6 +602,7 @@ impl RowIndexLookupHelper for Frame { panic!("Frame index: incompatible key type usize for Date index") } // Ensure state consistency + #[allow(unreachable_patterns)] (RowIndex::Int(_), RowIndexLookup::None) | (RowIndex::Int(_), RowIndexLookup::Date(_)) | (RowIndex::Date(_), RowIndexLookup::Int(_)) @@ -634,6 +635,7 @@ impl RowIndexLookupHelper for Frame { panic!("Frame index: incompatible key type NaiveDate for Int or Range index") } // Ensure state consistency + #[allow(unreachable_patterns)] (RowIndex::Date(_), RowIndexLookup::None) | (RowIndex::Date(_), RowIndexLookup::Int(_)) | (RowIndex::Int(_), RowIndexLookup::Date(_))