diff options
| author | bors <bors@rust-lang.org> | 2022-07-11 17:09:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-07-11 17:09:37 +0000 |
| commit | 38b72154ded23847cd08a796d0c6708b5efac265 (patch) | |
| tree | 6250bc421ddfbb5a6e85c2e4bdb5a4cb28b24b73 /compiler/rustc_parse/src | |
| parent | 9fb32dc924653e35950f17c8d91793c9ca983d03 (diff) | |
| parent | 21a12e8ab78f7e67a4ddc1d13d289a496f2f619d (diff) | |
| download | rust-38b72154ded23847cd08a796d0c6708b5efac265.tar.gz rust-38b72154ded23847cd08a796d0c6708b5efac265.zip | |
Auto merge of #98637 - cjgillot:bare-trait-anon-lt, r=petrochenkov
Create fresh lifetime parameters for bare fn trait too The current code fails to account for the equivalence between `dyn FnMut(&mut u8)` and bare `FnMut(&mut u8)`, and treated them differently. This PR introduces a special case for `Fn` traits, which are always fully resolved. Fixes #98616 Fixes #98726 This will require a beta-backport, as beta contains that bug. r? `@petrochenkov`
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions
