about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-06-02 11:13:22 +0200
committerGitHub <noreply@github.com>2022-06-02 11:13:22 +0200
commit5c041f98fa121a5e8ae61f755ac3776565a7a595 (patch)
tree71073f83e134445b7797a01d9066768d449801a7 /compiler/rustc_codegen_llvm/src
parentddc5d2c9d2c0d100707666d5f2168ccc0dab40ed (diff)
parent0cf79d7d680bf8ef6f5c9939e7d2d730b504f5e0 (diff)
downloadrust-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