Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
rust-analyzer.github.io
Fixes #7110 deduplicate macros when offering completion. #7235 ifl postfix completion works with &Option<T>. #7251, #7272 improve LSP conformance, don’t split single file edits. #7262 don’t treat rename errors as server crashes. #7264 fix b...
Project/Tooling Updates 2021-01-20 ~1 min read
rust-analyzer.github.io
#7145 add hygiene info to macro expansions. #7198 add motivations to all styleguide rules. #7184 changes cursor marker from <|> to $0. #7196 improve fixture syntax highlighting. #7159 refactor mbe to reduce clone and copying. #7160 API to g...
Project/Tooling Updates 2021-01-13 ~1 min read
rust-analyzer.github.io
#7070 fix $0 inserted during edits. #7088 fix false positive "unnecessary braces" diagnostic. #7064 improve auto-importing completion speed and accuracy. #7059 fix handling of $_ in macros. #7075 use .format to trigger postfix format comple...
Project/Tooling Updates 2021-01-06 ~1 min read
rust-analyzer.github.io
#6967 correctly parse legacy trait objects with leading ForType. #6965 properly attach attributes to function parameters. #6978 filter out empty rustc spans. #6981 rename works from macro. #6982 remove parentheses when inverting !(cond). #6...
Project/Tooling Updates 2020-12-30 ~1 min read
rust-analyzer.github.io
#6779 upgrade to LSP 3.16. Note, this is sadly not as backwards compatible as we would like, if you see errors during project loading, please stick to the previous version of rust-analyzer until the next release. #6907 support goto definiti...
Project/Tooling Updates 2020-12-23 ~1 min read
rust-analyzer.github.io
#6805 fix accidentally quadratic tree modification code. This speeds up new auto-import completions a lot. See this stream for an interesting discussion about tree editing API. #6813 fix negative literals handling in declarative macros. #67...
Tooling 2020-12-16 ~1 min read
rust-analyzer.github.io
#6680 fix use merging not using the first path segment. #6688 place the cursor correctly when using qualified syntax for calling method. #6689 trigger .let postfix snippet in the middle of the block. #6649 accept more than just the standard...
Tooling 2020-12-09 ~1 min read
rust-analyzer.github.io
This post documents a couple of fun tricks we use in rust-analyzer for measuring memory consumption. In general, there are two broad approaches to profiling the memory usage of a program. The first approach is based on “heap parsing”. At a...
Observations/Thoughts 2020-12-09 ~4 min read
rust-analyzer.github.io
New Features #6645 add diagnostics for unexpandable macros. #6666 support "go to definition" for self parameter. #6664 show type of self on hover. #6606 support unsafe extern block syntax. #6618, #6621 type inference for tuple patterns with...
Tooling 2020-12-02 ~1 min read
rust-analyzer.github.io
Fixes #6552 properly handle shorthands in destructure patterns when renaming: #6574 Unwrap Block supports stand-alone blocks: #6558 format string highlighting: handle hex + debug type. #6563 don’t complete keywords in struct initializers. #...
Tooling 2020-11-25 ~1 min read
rust-analyzer.github.io
New Features #6524 add support for #![feature(rustc_private)]. Set rust-analyzer.rustcSource to point to a directory with compiler’s sources if you develop tooling which uses compiler directly (clippy, rustfmt, etc). #6500 add .some postfix...
Tooling 2020-11-18 ~1 min read
rust-analyzer.github.io
Fixes #6436, #6447, #6450, #6488, #6489, #6491, #6497 fixes to TextMate grammar. #6441 don’t overload the client with too many progress notifications. #6399 keep existing type arguments in the Qualify Path assist. #6401 fix inlay hints for...
Tooling 2020-11-11 ~1 min read
rust-analyzer.github.io
#6361 fixes to TextMate grammar. #6360 fix unary minus highlighting. #6350 fix false positive for case checking diagnostics. #6333 fix parsing of pub(in path) visibility. #6367 correctly handle #![cfg] at the crate root. #6257 don’t suggest...
Tooling 2020-11-04 ~1 min read
rust-analyzer.github.io
#6266 document all rust-analyzer native diagnostics in the manual. #6297 project.json now allows setting a display name for crate. This is used in UI, as well as for hacky work-around for cfg-if in the standard library. #6299, #6324, #6339...
Tooling 2020-10-28 ~1 min read
rust-analyzer.github.io
So, what exactly does “describing syntax trees” mean and why is it useful? When writing an IDE, one of the core data structure is the concrete syntax tree. It is a full-fidelity tree which represents the original source code in detail, incl...
Project Updates 2020-10-28 ~2 min read
rust-analyzer.github.io
#6277 Change Visibility assist works for type aliases. #6199 fix semantic highlighting for mut self. #6198 improve semantic highlighting of macro rules. #6195 when shortening iterator hints, recursively shorten associated types. #6213 fix "...
Tooling 2020-10-21 ~1 min read
rust-analyzer.github.io
#6154 shorten type hints for std::iter iterators. #6111 add assist for converting the base of integer literals. #6139 add rust-analyzer.assist.importPrefix configuration open to configure style of auto-import. #6140 honor hover.contentForma...
Tooling 2020-10-14 ~1 min read
rust-analyzer.github.io
New Features #5928 add method references CodeLens: #5954 allow overriding command for Rust Analyzer: Run action: #5988 postfix completions for fmt-like string literals: #6080 add linksInHover config option to remove links from markdown for...
Tooling 2020-10-07 ~1 min read
rust-analyzer.github.io
New Features #5846 when completing function calls, automatically insert &: #6061 allow to use a Github Auth token for fetching releases. This change allows to use a authorization token provided by Github in order to fetch metadata for a RA...
Tooling 2020-09-30 ~1 min read
rust-analyzer.github.io
If we squint hard enough, an IDE/LSP server works a bit like a web server. It accepts requests like “what is the definition of symbol on line 23?”, processes them according to the language semantics and responds back. Some requests also mod...
Miscellaneous 2020-09-30 ~3 min read
"A fast executing language that crashes all the time is like a supercar… that crashes all the time."

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, research, crates, and Rust API documentation. These operators give you finer control — click an example to try it.

Find pages containing all your words. Pages where the words appear together rank higher.
Quote part of your query to keep those words together as an exact phrase within a larger search.
Wrap the whole query in quotes for a verbatim search that matches text exactly, punctuation and all — perfect for Rust syntax. Needs at least 3 characters.
Put ! first to open the top result immediately. Quote the whole query for a literal leading bang, as in '!Send'. Bangs elsewhere, such as println!, stay literal. Browser and launcher shortcuts can invoke this directly. See search integrations.
Limit results to a single site. Works on its own () too. One site: per search.

Use the tabs and filters above the results to narrow by content type, publication year, and sort order.