commit | af488c971fa85655f55575436f37faf09f13ed17 | [log] [tgz] |
---|---|---|
author | bors <bors@rust-lang.org> | Thu Jun 06 09:40:39 2024 +0000 |
committer | bors <bors@rust-lang.org> | Thu Jun 06 09:40:39 2024 +0000 |
tree | 72d24e3b572372dfa204594785aea88b0bfffb9d | |
parent | 577b0becd0056a32adc5329485022fecffc03920 [diff] | |
parent | 22e82c72acf95e20cb77799b47ac3c46a816724b [diff] |
Auto merge of #17352 - roife:fix-issue-17338, r=Veykril fix: do not resolve prelude within block modules fix #17338 (continuing from #17251). In #17251, we injected preludes into non-top-level modules, which leading to r-a to directly resolve names in preludes in block modules. This PR fix it by checking whether the module is a pseudo-module introduced by blocks. (similar to what we do for extern preludes)
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.
https://rust-analyzer.github.io/manual.html#installation
If you want to contribute to rust-analyzer check out the CONTRIBUTING.md or if you 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.