commit | 73a427588a787847fb0e9547d7615200587165db | [log] [tgz] |
---|---|---|
author | bors <bors@rust-lang.org> | Wed Apr 24 07:46:09 2024 +0000 |
committer | bors <bors@rust-lang.org> | Wed Apr 24 07:46:09 2024 +0000 |
tree | 739f166c58ea1e5254f94aafbb237d959a92caa7 | |
parent | e31c9f3fe11148514c3ad254b639b2ed7dbe35de [diff] | |
parent | 5c88e98419b2635282af945fe1bbb91c3ac5411d [diff] |
Auto merge of #17131 - bzy-debug:issue-17107, r=lnicola different error code of "no such field" error based on variant type fix #17107 Pass variant information down to diagnostic, so that we can get different error code based on variant type. After fix: - structure <img width="868" alt="Screenshot 2024-04-23 at 21 03 27" src="https://github.com/rust-lang/rust-analyzer/assets/71200607/c2d1e389-5b62-4e9a-a133-9ae41f80615f"> - enum's structure variant <img width="937" alt="Screenshot 2024-04-23 at 21 04 41" src="https://github.com/rust-lang/rust-analyzer/assets/71200607/ad8558a7-d809-4968-b290-2f6bbb8d6b8c">
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.