rust/crates/ide
bors[bot] ac30710ada
Merge #6665
6665: Support self in reference search r=matklad a=Veykril

The approach here is simply checking the descendants of the function body for `PathExpr` then checking whether it only contains a single `self` `PathSegment`, this is to prevent us from picking up `self` tokens from local `UseTree`s.

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2020-11-29 20:03:44 +00:00
..
src Merge #6665 2020-11-29 20:03:44 +00:00
Cargo.toml Move the helpers into ide_db 2020-11-28 16:30:39 +02:00