diff options
| author | bors <bors@rust-lang.org> | 2021-07-29 09:35:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-07-29 09:35:23 +0000 |
| commit | 5fb3394cbdf0622c9d0c292feb55db0f4c828dc3 (patch) | |
| tree | e1521a5f4ca5e5e8b6e971c7635c10e979974911 /compiler | |
| parent | 6e0a8bf7901a3fe2e073b1e702e80f58b76d5087 (diff) | |
| parent | 3f6dc9a8abe9ffd804fed2ddaabb1c67de4c8fbd (diff) | |
| download | rust-5fb3394cbdf0622c9d0c292feb55db0f4c828dc3.tar.gz rust-5fb3394cbdf0622c9d0c292feb55db0f4c828dc3.zip | |
Auto merge of #86664 - m-ou-se:uninit-track-caller, r=JohnTitor
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.
Diffstat (limited to 'compiler')
0 files changed, 0 insertions, 0 deletions
