commit | 516eb40ba5b9d20e59e98185d1b2fcba5599ef7a | [log] [tgz] |
---|---|---|
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | Sun Sep 12 21:21:21 2021 +0000 |
committer | GitHub <noreply@github.com> | Sun Sep 12 21:21:21 2021 +0000 |
tree | 5482b46f0b17c952d15ffea711ac31ff8a00d209 | |
parent | 3e056b9e90eb9cb438ead8f933181266ef5422a3 [diff] | |
parent | 95746a99b4003b15c8b9ee94044d1f7c1fb81ac9 [diff] |
Merge #10215 10215: Use correct file syntax node for decl_access computation in find_all_refs r=Veykril a=Veykril Defs and refs of locals only ever life in one file, this isn't true for fields though. Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10201 bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
rust-analyzer is a modular compiler frontend for the Rust language. It is a part of a larger rls-2.0 effort to create excellent IDE support for Rust.
Work on rust-analyzer is sponsored by
https://rust-analyzer.github.io/manual.html#installation
If you want to contribute to rust-analyzer or are just curious about how things work under the hood, check the ./docs/dev folder.
If you want to use rust-analyzer's language server with your editor of choice, check the manual folder. It also contains some tips & tricks to help you be more productive when using rust-analyzer.
See the corresponding sections of the manual.
For usage and troubleshooting requests, please use “IDEs and Editors” category of the Rust forum:
https://users.rust-lang.org/c/ide/14
For questions about development and implementation, join rust-analyzer working group on Zulip:
https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer
Rust analyzer is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.