diff options
author | Florian Diebold <[email protected]> | 2021-04-08 22:34:05 +0100 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2021-04-09 10:17:07 +0100 |
commit | 272a8dce4f603b38e7755bcd2dc8abb6437e6e64 (patch) | |
tree | 664e370487dae360665746ab32986b87e65b22a6 /crates/hir_def/src/nameres/collector.rs | |
parent | 354151df3556c5e2989746aa01a5aeb620ee9baa (diff) |
Fix crash on syn involving lifetimes returned by Chalk
If we get lifetime variables back in autoderef, just immediately replace
them by static lifetimes for now. Method resolution doesn't really deal
correctly with new variables being introduced (this needs to be fixed
more properly).
This fixes `rust-analyzer analysis-stats --with-deps` crashing in the RA
repo.
Diffstat (limited to 'crates/hir_def/src/nameres/collector.rs')
0 files changed, 0 insertions, 0 deletions