about summary refs log tree commit diff
path: root/src/tools/rust-analyzer
AgeCommit message (Collapse)AuthorLines
2025-02-17Rename `pattern_complexity` attr as `pattern_complexity_limit`.Nicholas Nethercote-2/+2
For consistency with `recursion_limit`, `move_size_limit`, and `type_length_limit`.
2025-02-17Add `pattern_complexity_limit` to `Limits`.Nicholas Nethercote-1/+1
It's similar to the other limits, e.g. obtained via `get_limit`. So it makes sense to handle it consistently with the other limits. We now use `Limit`/`usize` in most places instead of `Option<usize>`, so we use `Limit::new(usize::MAX)`/`usize::MAX` to emulate how `None` used to work. The commit also adds `Limit::unlimited`.
2025-02-16Move hashes from rustc_data_structure to rustc_hashes so they can be shared ↵Ben Kimock-5/+19
with rust-analyzer
2025-02-16Refactor path loweringChayim Refael Friedman-1132/+1220
And add a new diagnostic for non-`Fn` parenthesized generic args. Path lowering started to look like a mess, with each function carrying additional parameters for the diagnostic callback (since paths can occur both in type and in expression/pattern position, and their diagnostic handling is different) and the segment index, for the diagnostics report. So I refactored it from stateless functions on `TyLoweringContext` into stateful struct, `PathLoweringContext`, that tracks the process of lowering a path from resolution til assoc types selection.
2025-02-16Merge pull request #19137 from asuto15/highlight-extern-crateLukas Wirth-0/+19
fix: highlight `extern crate` in doc comments
2025-02-16Merge pull request #19155 from ShoyuVanilla/migrate-missing-match-armsLukas Wirth-113/+72
internal: Remove mutable syntax tree usages from `add_missing_match_arms` assist
2025-02-16fix: Stabilize sort order of `related_tests`Lukas Wirth-27/+35
2025-02-16Merge pull request #19161 from Veykril/push-prmuyxlnxzxoLukas Wirth-33/+45
fix: Improve sort order of runnables
2025-02-16fix: Stabilize sort order of runnablesLukas Wirth-33/+45
2025-02-16Improve error recovery when method-calling an assoc functionLukas Wirth-71/+112
2025-02-16Set `RUSTUP_TOOLCHAIN` when loading sysroot workspaceLukas Wirth-2/+6
2025-02-15Re-generate doctestsOlivier FAURE-0/+23
2025-02-16Temporarily ignore tests with commentsShoyu Vanilla-0/+6
2025-02-15Implement expand_glob_reexport assistOlivier FAURE-19/+208
2025-02-15Factor out business logic of expand_glob_importOlivier FAURE-82/+75
2025-02-15fix: remove unnecessary conversionasuto15-1/+1
2025-02-15Delete library modifier to highlighting for extern crateasuto15-24/+7
2025-02-13add cargo's git checkouts to the list of paths to mark as read-only in vscodeJacob Lifshay-0/+1
2025-02-14internal: Remove mutable syntax tree usages from `add_missing_match_arms` assistShoyu Vanilla-113/+66
2025-02-13Merge pull request #19141 from Wilfred/split_editorsLukas Wirth-618/+635
manual: Separate out installation and configuration pages
2025-02-12Apply cfg.setTest to json projectsDavid Richey-44/+50
2025-02-13Delete useless commaasuto15-1/+1
2025-02-13Add modifiers to highlighting for extern crateasuto15-2/+31
2025-02-12manual: Separate out installation and configuration pagesWilfred Hughes-618/+635
Organise the installation content into: * VS Code instructions * Binary installation * Editor configuration
2025-02-12Merge pull request #19142 from Veykril/push-upwqztrsuwpzLukas Wirth-202/+335
Spawn toolchain querying processes in parallel
2025-02-12Rename sysroot src/lib related thingsLukas Wirth-104/+121
2025-02-12Merge pull request #19148 from Veykril/push-ptnykrwnwwluLukas Wirth-79/+152
Improve error recovery when method-calling a field
2025-02-12Improve error recovery when method-calling a fieldLukas Wirth-79/+152
2025-02-12Spawn toolchain querying processes in parallelLukas Wirth-112/+228
2025-02-12Merge pull request #18928 from roife/fix-18918Lukas Wirth-1/+5295
fix: handle character boundary in search mode
2025-02-12Merge pull request #19109 from Veykril/push-nzpuuqommpnqLukas Wirth-31/+97
fix: Do not show safety hints for extern items lacking semantics
2025-02-12fix: handle character boundary in search moderoife-1/+5295
2025-02-12fix: Do not show safety hints for extern items lacking semanticsLukas Wirth-31/+97
2025-02-12Merge pull request #19111 from ShoyuVanilla/issue-19021Lukas Wirth-9/+89
fix: Apply adjustments to proper expr when invoking `CoerceMany`
2025-02-12Merge pull request #19110 from eagr/panic-contextLukas Wirth-22/+18
Simplify panic_context
2025-02-12Merge pull request #19125 from ChayimFriedman2/cfg-attr-fastLukas Wirth-24/+96
fix: Censor cfg_attr for attribute macros
2025-02-12Merge pull request #18995 from alibektas/12210Lukas Wirth-117/+187
fix: Lower range pattern bounds to expressions
2025-02-12Merge pull request #19129 from ChayimFriedman2/snippet-macroLukas Wirth-27/+64
fix: Fix postfix completions inside macros
2025-02-12Merge pull request #19132 from joshrotenberg/book-readme-run-codegenLukas Wirth-1/+1
doc: add xtask codegen command in development README as well
2025-02-12Merge pull request #19136 from ↵Lukas Wirth-116/+193
rust-lang/dependabot/npm_and_yarn/editors/code/esbuild-0.25.0 Bump esbuild from 0.18.12 to 0.25.0 in /editors/code
2025-02-12minor: don't show drop hints for other patterngohome001-6/+6
2025-02-12Merge pull request #19143 from Veykril/push-mkokotluzskwLukas Wirth-2/+22
Propogate error types in mir type projections
2025-02-12Propogate error types in mir type projectionsLukas Wirth-2/+22
2025-02-12Merge pull request #19140 from joshrotenberg/remove-mdbook-toc-configLukas Wirth-5/+0
doc: remove unused plugin config
2025-02-12Merge pull request #19139 from Wilfred/fix_assists_urlsLukas Wirth-1/+1
manual: Fix URLs to rustdoc pages
2025-02-11remove unused plugin configJosh Rotenberg-5/+0
2025-02-11Merge pull request #19133 from joshrotenberg/fix-manual-github-pathsChayim Refael Friedman-3/+3
doc: fix mdbook repository paths
2025-02-11manual: Fix URLs to rustdoc pagesWilfred Hughes-1/+1
Now that the manual lives at /manual/, we need to use absolute URLs to link to rustdoc content.
2025-02-11Merge pull request #19117 from gohome001/implicit-drop-inlay-hints-bugChayim Refael Friedman-2/+24
Fix: don't emit implicit drop inlay hints for macro
2025-02-11Merge pull request #18998 from ChayimFriedman2/excludeLukas Wirth-131/+262
fix: Make `rust-analyzer.files.excludeDirs` work, actually