diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2021-12-16 18:35:15 -0500 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2021-12-16 18:35:15 -0500 |
| commit | 44fdb98764e13faecbe2c307798bbe97348bddde (patch) | |
| tree | 4c3fa0f912950bb696db5d92f54f65a8fe0e0dfe /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 5531927e8af9b99ad923af4c827c91038bca51ee (diff) | |
| download | rust-44fdb98764e13faecbe2c307798bbe97348bddde.tar.gz rust-44fdb98764e13faecbe2c307798bbe97348bddde.zip | |
Use field span in `rustc_macros` when emitting decode call
This will cause backtraces to point to the location of the field in the struct/enum, rather than the derive macro. This makes it clear which field was being decoded when the backtrace was captured (which is especially useful if there are multiple fields with the same type).
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
