]> git.lizzy.rs Git - rust.git/commitdiff
Merge #11620
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Fri, 4 Mar 2022 19:47:39 +0000 (19:47 +0000)
committerGitHub <noreply@github.com>
Fri, 4 Mar 2022 19:47:39 +0000 (19:47 +0000)
11620: feat: Support locals with multiple declaration sites r=Veykril a=Veykril

Fixes https://github.com/rust-analyzer/rust-analyzer/issues/8860

This implements the first approach of https://github.com/rust-analyzer/rust-analyzer/issues/8860#issuecomment-845461773:
> treat every Local as having potentially many sources?

The way this is written does allow changing to a MultiLocal approach instead though, I'll investigate whether that turns out to be better or not.

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>

No differences found