about summary refs log tree commit diff
path: root/src/tools/rust-analyzer
AgeCommit message (Collapse)AuthorLines
2025-02-23Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, ↵Jacob Pratt-5/+5
r=saethlin,traviscross Greatly simplify lifetime captures in edition 2024 Remove most of the `+ Captures` and `+ '_` from the compiler, since they are now unnecessary with the new edition 2021 lifetime capture rules. Use some `+ 'tcx` and `+ 'static` rather than being overly verbose with precise capturing syntax.
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-5/+5
2025-02-22Merge pull request #19182 from ShoyuVanilla/issue-19177Chayim Refael Friedman-7/+47
fix: Binding wrong associated type when lowering bounds like `T: Trait<Assoc = U>`
2025-02-22Allow "package/feature" format feature flagShirayama Kazatsuyu-1/+3
2025-02-22Merge pull request #19203 from lnicola/rust-src-pathLaurențiu Nicola-8/+6
minor: Switch back to RUST_SRC_PATH
2025-02-22Switch back to RUST_SRC_PATHLaurențiu Nicola-8/+6
2025-02-21toc for other editorsJosh Rotenberg-0/+2
2025-02-21fixandylokandy-1/+1
2025-02-21feat: update insta inline snapshot when clicks 'Update Test' runnableandylokandy-16/+13
2025-02-20rust-analyzer: use new function in (incorrect) layout computationJubilee Young-1/+1
This is only to fix the build.
2025-02-20Remove `BackendRepr::Uninhabited`, replaced with an `uninhabited: bool` ↵Zachary S-6/+6
field in `LayoutData`. Also update comments that refered to BackendRepr::Uninhabited.
2025-02-20Update style.mdBenjamin Brienen-1/+1
fix dead link
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.