Auto merge of #153026 - JonathanBrouwer:rollup-PAPpAYW, r=JonathanBrouwer Rollup of 14 pull requests Successful merges: - rust-lang/rust#153007 (`rust-analyzer` subtree update) - rust-lang/rust#152670 (Simplify ThinLTO handling) - rust-lang/rust#152768 (Enable autodiff in ci for all major os) - rust-lang/rust#152908 (Enable rust.remap-debuginfo in the dist profile) - rust-lang/rust#152999 (Check importing `crate`/`$crate`/`super` after handling `self`) - rust-lang/rust#152003 (Reflection TypeId::trait_info_of) - rust-lang/rust#152976 (Revert relative paths for std links in rustc-docs) - rust-lang/rust#152985 (Port `#[feature]` to the new attribute system) - rust-lang/rust#152989 (Port `#[rustc_inherit_overflow_checks]` to the new attribute parsers) - rust-lang/rust#152991 (fix interpreter tracing output) - rust-lang/rust#153004 (Superficial tweaks to the query modifier docs in `rustc_middle::query::modifiers`) - rust-lang/rust#153008 (bootstrap.compiler.toml: update name of primary branch) - rust-lang/rust#153016 (Migration of `LintDiagnostic` - part 2) - rust-lang/rust#153020 (rustdoc: Improve sentence for documented empty impl blocks) Failed merges: - rust-lang/rust#152988 (Port `#[register_tool]` to the new attribute system)
rust-analyzer is a language server that provides IDE functionality for writing Rust programs. You can use it with any editor that supports the Language Server Protocol (VS Code, Vim, Emacs, Zed, etc).
rust-analyzer features include go-to-definition, find-all-references, refactorings and code completion. rust-analyzer also supports integrated formatting (with rustfmt) and integrated diagnostics (with rustc and clippy).
Internally, rust-analyzer is structured as a set of libraries for analyzing Rust code. See Architecture in the manual.
https://rust-analyzer.github.io/book/installation.html
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, see the Contributing section of the manual.
If you want to use rust-analyzer's language server with your editor of choice, check the manual. It also contains some tips & tricks to help you be more productive when using rust-analyzer.
See the security and privacy 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.