about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2021-10-06 12:33:19 -0700
committerGitHub <noreply@github.com>2021-10-06 12:33:19 -0700
commitb01594051cdb7bcd2ccc9f3957fdd243c7d66ef8 (patch)
treee3afc03853f17da880d84b9404a6d813f8b08c68 /compiler/rustc_codegen_llvm/src/builder.rs
parentb87a9a8a7c40484bc94515fd6d51e6e271ad4cb8 (diff)
parent3c974adb4c4c6de497a36dec362af6c0928c7367 (diff)
downloadrust-b01594051cdb7bcd2ccc9f3957fdd243c7d66ef8.tar.gz
rust-b01594051cdb7bcd2ccc9f3957fdd243c7d66ef8.zip
Rollup merge of #89501 - Aaron1011:escaping-name-regions, r=davidtwco
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