Files
rust/compiler
Dylan DPC 5c041f98fa Rollup merge of #97023 - cjgillot:uniform-anon, r=estebank
Diagnose anonymous lifetimes errors more uniformly between async and regular fns

Async fns and regular fns are desugared differently.  For the former, we create a generic parameter at HIR level.  For the latter, we just create an anonymous region for typeck.

I plan to migrate regular fns to the async fn desugaring.

Before that, this PR attempts to merge the diagnostics for both cases.

r? ```@estebank```
2022-06-02 11:13:22 +02:00
..
2022-05-26 13:14:24 +02:00
2022-05-27 07:36:17 -04:00
2022-05-31 22:08:14 -07:00
2022-05-12 18:31:42 +09:00
2022-05-23 14:07:40 +02:00
2022-05-26 13:14:24 +02:00
2022-05-27 07:36:17 -04:00