about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2021-12-16 18:35:15 -0500
committerAaron Hill <aa1ronham@gmail.com>2021-12-16 18:35:15 -0500
commit44fdb98764e13faecbe2c307798bbe97348bddde (patch)
tree4c3fa0f912950bb696db5d92f54f65a8fe0e0dfe /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent5531927e8af9b99ad923af4c827c91038bca51ee (diff)
downloadrust-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