about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-25 20:02:55 +0000
committerbors <bors@rust-lang.org>2022-07-25 20:02:55 +0000
commit6654aabb0f4b30d0beba402758ad11f91c4103e1 (patch)
treef107c855e49bf9159e58f01f50eb67d1ba4dba39 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent632f9945d60c6338a38d385c59c6c9b5f3f5e94d (diff)
parent419d39c072825bb622e262c59b0243fcfe69d337 (diff)
downloadrust-6654aabb0f4b30d0beba402758ad11f91c4103e1.tar.gz
rust-6654aabb0f4b30d0beba402758ad11f91c4103e1.zip
Auto merge of #97313 - cjgillot:ast-lifetimes-anon, r=petrochenkov
Resolve function lifetime elision on the AST

~Based on https://github.com/rust-lang/rust/pull/97720~

Lifetime elision for functions is purely syntactic in nature, so can be resolved on the AST.
This PR replicates the elision logic and diagnostics on the AST, and replaces HIR-based resolution by a `delay_span_bug`.

This refactor allows for more consistent diagnostics, which don't have to guess the original code from HIR.

r? `@petrochenkov`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions