Skip to content

2020-11-30

Compare
Choose a tag to compare
@github-actions github-actions released this 30 Nov 10:43
ac30710
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>