mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-22 19:46:58 +00:00
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.