commit | a58f574816486eec4cba5d5584a41fbfc5c13984 | [log] [tgz] |
---|---|---|
author | bors <bors@rust-lang.org> | Mon Mar 11 09:31:22 2024 +0000 |
committer | bors <bors@rust-lang.org> | Mon Mar 11 09:31:22 2024 +0000 |
tree | ea395442fb3ec31b801c0bb4186f6dac3f5fa0b8 | |
parent | a5035f49312edc3d2d92ec86c41866472e65b771 [diff] | |
parent | 4f0bc1a314aff8f1074ca40fc9c7a8bf31d91025 [diff] |
Auto merge of #16762 - wyatt-herkamp:master, r=Veykril Added QuickFix for unresolved field. Adds an AssistKind::QuickFix for unresolved field. Currently, Snippets are not available for Diagnostics. So the type defaults to the Unit type if the type is not able to be inferred. https://github.com/rust-lang/rust-analyzer/assets/11785959/bd4c67bd-f8cb-4254-9a87-641ae80a7a28 Closes https://github.com/rust-lang/rust-analyzer/issues/4563
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 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.