diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2021-10-03 15:25:26 -0500 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2021-10-05 13:25:03 -0500 |
| commit | 3c974adb4c4c6de497a36dec362af6c0928c7367 (patch) | |
| tree | bf18f08099870bd33eb991ea38ce62360f981cec /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | 25ec8273855fde2d72ae877b397e054de5300e10 (diff) | |
| download | rust-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
