about summary refs log tree commit diff
path: root/src/tools/rust-analyzer
AgeCommit message (Collapse)AuthorLines
2025-02-20Merge pull request #19189 from Veykril/push-qutznxznnwqnLukas Wirth-3/+3
minor: Improve unset `OUT_DIR` error message
2025-02-20Improve unset OUT_DIR error messageLukas Wirth-3/+3
2025-02-20Merge pull request #19190 from BenjaminBrienen/patch-4Laurențiu Nicola-3/+2
Update editor_features.md
2025-02-20Update editor_features.mdBenjamin Brienen-3/+2
fix typos in snippets
2025-02-20Merge pull request #19151 from infiniteregrets/infi/fix-proc-macroLukas Wirth-31/+159
Use correct working directory for non-workspace proc-macro execution
2025-02-20Merge pull request #19188 from lnicola/ubuntu-latestLaurențiu Nicola-3/+3
internal: Use ubuntu-latest workers for releases
2025-02-20Use ubuntu-latest workers for releasesLaurențiu Nicola-3/+3
2025-02-20Merge pull request #19185 from BenjaminBrienen/patch-3Laurențiu Nicola-1/+1
Update architecture.md
2025-02-20Merge pull request #19187 from BenjaminBrienen/patch-4Laurențiu Nicola-3/+3
Update configuration.md
2025-02-20Update configuration.mdBenjamin Brienen-3/+3
fix dead links
2025-02-19missed the L for the line numberJosh Rotenberg-1/+1
2025-02-20Update architecture.mdBenjamin Brienen-1/+1
it is stable since 1.52
2025-02-20Explicitly compare `TypesMap` as ptrsShoyu Vanilla-12/+17
2025-02-20fix: Binding wrong assoc ty when lowering trait ref boundShoyu Vanilla-10/+45
2025-02-19Merge pull request #19180 from joshrotenberg/fix-source-file-urlLukas Wirth-1/+7
doc: use fully qualified url for source path
2025-02-18Merge pull request #19179 from alibektas/19090_newChayim Refael Friedman-2/+98
Ignore assists with many results if grouping not supported
2025-02-18Add a check_assist_* overload and move tests under assistsAli Bektas-37/+66
2025-02-18use fully qualified url for source pathJosh Rotenberg-1/+7
2025-02-18Fix 19090Ali Bektas-0/+67
2025-02-18Fix dead linkBenjamin Brienen-1/+1
2025-02-18Revert "pass struct fields to chalk"Lukas Wirth-37/+20
2025-02-18Merge pull request #19157 from joshrotenberg/dev-guide-to-bookLukas Wirth-173/+201
doc: move dev docs to manual
2025-02-17move dev docs to manualJosh Rotenberg-173/+201
fix formatting
2025-02-17Rollup merge of #137173 - lnicola:sync-from-ra, r=lnicolaMatthias Krüger-2949/+9573
Subtree update of `rust-analyzer` r? `@ghost`
2025-02-17Use correct working directory for non-workspace proc-macro executionMehul Arora-31/+159
2025-02-17Update lockfileLaurențiu Nicola-12/+12
2025-02-17Merge pull request #19169 from lnicola/sync-from-rustLaurențiu Nicola-10/+10
minor: Sync from downstream
2025-02-17Bump rustc cratesLaurențiu Nicola-5/+5
2025-02-17Merge pull request #19167 from ChayimFriedman2/fix-ref-patLukas Wirth-17/+64
fix: Fix detection of ref patterns for path patterns
2025-02-17Merge from rust-lang/rustLaurențiu Nicola-4/+4
2025-02-17Preparing for merge from rust-lang/rustLaurențiu Nicola-1/+1
2025-02-17Auto merge of #137164 - matthiaskrgr:rollup-dj5826k, r=matthiaskrgrbors-5/+19
Rollup of 7 pull requests Successful merges: - #137095 (Replace some u64 hashes with Hash64) - #137100 (HIR analysis: Remove unnecessary abstraction over list of clauses) - #137105 (Restrict DerefPure for Cow<T> impl to T = impl Clone, [impl Clone], str.) - #137120 (Enable `relative-path-include-bytes-132203` rustdoc-ui test on Windows) - #137125 (Re-add missing empty lines in the releases notes) - #137145 (use add-core-stubs / minicore for a few more tests) - #137149 (Remove SSE ABI from i586-pc-windows-msvc) r? `@ghost` `@rustbot` modify labels: rollup
2025-02-17Fix detection of ref patterns for path patternsChayim Refael Friedman-17/+64
I was wrong on #19127, I thought hir-def resolver is enough for them, but it turns out not because of paths like `<Enum>::Variant` and `Type::AssocThatIsEnum::Variant`.
2025-02-17Merge pull request #19158 from PoignardAzur/expaned_pub_glob_importsLukas Wirth-92/+297
Implement expand_glob_reexport assist
2025-02-17Merge pull request #19122 from Austaras/masterLukas Wirth-20/+37
pass struct fields to chalk
2025-02-17Merge pull request #19127 from ChayimFriedman2/different-generic-argsLukas Wirth-1144/+1222
feat: Refactor path lowering and serve a new path diagnostic
2025-02-17Calculate drop glue and show it on hoverChayim Refael Friedman-6/+1002
Also fix the `needs_drop()` intrinsic. Unions also need this information (to err if they have a drop-needing field), but this will come in a follow-up PR.
2025-02-17Fix sorting of runnablesChayim Refael Friedman-11/+4
There were two mistakes: first, tests were sorted before test modules, and second, we re-sorted based on the name only, which cancelled the sort based on the kind.
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