()
| 408 | #[test] |
| 409 | #[should_panic(expected = "offset overflow")] |
| 410 | fn from_lengths_offset_overflow() { |
| 411 | OffsetBuffer::<i32>::from_lengths([i32::MAX as usize, 1]); |
| 412 | } |
| 413 | |
| 414 | #[test] |
| 415 | #[should_panic(expected = "usize overflow")] |
nothing calls this directly
no test coverage detected