diff options
| author | bors <bors@rust-lang.org> | 2022-07-25 20:02:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-07-25 20:02:55 +0000 |
| commit | 6654aabb0f4b30d0beba402758ad11f91c4103e1 (patch) | |
| tree | f107c855e49bf9159e58f01f50eb67d1ba4dba39 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | 632f9945d60c6338a38d385c59c6c9b5f3f5e94d (diff) | |
| parent | 419d39c072825bb622e262c59b0243fcfe69d337 (diff) | |
| download | rust-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 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
