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 | 6dbae3ad19309bb541d9e76638e6aa4b5449f29a (patch) | |
| tree | a35d361e27036633b9422e60fae27c050e298ec8 /compiler/rustc_codegen_cranelift/src/archive.rs | |
| parent | bdf520fd419cd4dea184332f57206f1cf5ca3e8f (diff) | |
| parent | b9bd65e2ca68342bdb8ab56134677ad330d786ba (diff) | |
| download | rust-6dbae3ad19309bb541d9e76638e6aa4b5449f29a.tar.gz rust-6dbae3ad19309bb541d9e76638e6aa4b5449f29a.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_codegen_cranelift/src/archive.rs')
0 files changed, 0 insertions, 0 deletions
