diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-06-02 11:13:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-02 11:13:22 +0200 |
| commit | 5c041f98fa121a5e8ae61f755ac3776565a7a595 (patch) | |
| tree | 71073f83e134445b7797a01d9066768d449801a7 /compiler/rustc_codegen_llvm/src | |
| parent | ddc5d2c9d2c0d100707666d5f2168ccc0dab40ed (diff) | |
| parent | 0cf79d7d680bf8ef6f5c9939e7d2d730b504f5e0 (diff) | |
| download | rust-5c041f98fa121a5e8ae61f755ac3776565a7a595.tar.gz rust-5c041f98fa121a5e8ae61f755ac3776565a7a595.zip | |
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```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
