about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2021-10-03 15:25:26 -0500
committerAaron Hill <aa1ronham@gmail.com>2021-10-05 13:25:03 -0500
commit3c974adb4c4c6de497a36dec362af6c0928c7367 (patch)
treebf18f08099870bd33eb991ea38ce62360f981cec /compiler/rustc_codegen_llvm/src/builder.rs
parent25ec8273855fde2d72ae877b397e054de5300e10 (diff)
downloadrust-3c974adb4c4c6de497a36dec362af6c0928c7367.tar.gz
rust-3c974adb4c4c6de497a36dec362af6c0928c7367.zip
Note specific regions involved in 'borrowed data escapes' error
Fixes #67007

Currently, a 'borrowed data escapes' error does not mention
the specific lifetime involved (except indirectly through a suggestion
about adding a lifetime bound). We now explain the specific lifetime
relationship that failed to hold, which improves otherwise vague
error messages.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions