about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-03 14:44:16 +0100
committerGitHub <noreply@github.com>2022-01-03 14:44:16 +0100
commitfd09f342f34b27d2439576d1ab681d42b2b8fac8 (patch)
tree6b35bc32304c7ac36e2410567a6c53192fffcc1c /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent57a4f4a6340036b18f47dd69d078e3c377438365 (diff)
parent44fdb98764e13faecbe2c307798bbe97348bddde (diff)
downloadrust-fd09f342f34b27d2439576d1ab681d42b2b8fac8.tar.gz
rust-fd09f342f34b27d2439576d1ab681d42b2b8fac8.zip
Rollup merge of #92011 - Aaron1011:decode-span, r=michaelwoerister
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