diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-11-17 15:57:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-17 15:57:57 +0100 |
| commit | d7b86880d24ab7a7be60e6c3167142111c4d1970 (patch) | |
| tree | 12bd0c80adfbd4904d23198315169ffc88472587 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 07342828c5066d6a7763535b9281b5cf021dea5c (diff) | |
| parent | 130b9e9e3b058e76e43788fac67538c064fc8a97 (diff) | |
| download | rust-d7b86880d24ab7a7be60e6c3167142111c4d1970.tar.gz rust-d7b86880d24ab7a7be60e6c3167142111c4d1970.zip | |
Rollup merge of #90667 - rukai:improve_static_lifetime_diagnostics, r=estebank
Improve diagnostics when a static lifetime is expected Makes progress towards https://github.com/rust-lang/rust/issues/90600 The diagnostics here were previously entirely removed due to giving a misleading suggestion but if we instead provide an informative label in that same location it should better help the user understand the situation. I included the example from the issue as it demonstrates an area where the diagnostics are still lacking. Happy to remove that if its just adding noise atm.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
