diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-06-27 12:41:50 +0000 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2021-07-28 14:34:36 +0200 |
| commit | 3f6dc9a8abe9ffd804fed2ddaabb1c67de4c8fbd (patch) | |
| tree | 226343744c4d375c6fcb3841a3a893405e57e253 /compiler/rustc_interface/src | |
| parent | eba3228b2a9875d268ff3990903d04e19f6cdb0c (diff) | |
| download | rust-3f6dc9a8abe9ffd804fed2ddaabb1c67de4c8fbd.tar.gz rust-3f6dc9a8abe9ffd804fed2ddaabb1c67de4c8fbd.zip | |
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/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
