mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-30 07:25:31 +00:00
Track caller of slice split and swap Improves error location for `slice.split_at*()` and `slice.swap()`. These are generic inline functions, so the `#[track_caller]` on them is free — only changes a value of an argument already passed to panicking code.