about summary refs log tree commit diff
path: root/tests/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-11-17 15:57:57 +0100
committerGitHub <noreply@github.com>2021-11-17 15:57:57 +0100
commitd7b86880d24ab7a7be60e6c3167142111c4d1970 (patch)
tree12bd0c80adfbd4904d23198315169ffc88472587 /tests/debuginfo/enum-thinlto.rs
parent07342828c5066d6a7763535b9281b5cf021dea5c (diff)
parent130b9e9e3b058e76e43788fac67538c064fc8a97 (diff)
downloadrust-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 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions