aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src/tests
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-11-29 20:03:44 +0000
committerGitHub <[email protected]>2020-11-29 20:03:44 +0000
commitac30710ada112984c9cf79c4af39ad666d000171 (patch)
tree2a819761bd55b14238b2a2674805ce5a0ae86a0d /crates/assists/src/tests
parent25ebcca224dc220c0439d9c82c6ef5ffa131c409 (diff)
parentde4ada22d484950a6f416f25c85566ea9d1830a9 (diff)
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 <[email protected]>
Diffstat (limited to 'crates/assists/src/tests')
0 files changed, 0 insertions, 0 deletions