mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
5fb3394cbd
Add #[track_caller] for some function in core::mem. These functions can panic for some types. This makes the panic point to the code that calls e.g. mem::uninitialized(), instead of inside the definition of mem::uninitialized.