mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 11:51:31 +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.