arrayvec
arrayvec copied to clipboard
Consider `#[track_caller]` on functions that panic
For functions that panic, such as extend, please consider using #[track_caller], to provide more meaningful location information for debugging such panics.
(This report inspired by debugging an ArrayVec panic inside rust-lang/rust CI.)
Needs knowledge about the performance impact - probably not a great concern for extend, but for other hotter methods.
@bluss Absolutely. I filed this issue rather than submitting a PR, because this would absolutely require checking the performance impact.
Fixed by #236